xref: /titanic_50/usr/src/uts/common/sys/sysevent/ap_driver.h (revision c77a61a72b5ecdc507d6cf104142edd371a16c84)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright (c) 2000 by Sun Microsystems, Inc.
24  * All rights reserved.
25  */
26 
27 #ifndef _SYS_SYSEVENT_AP_DRIVER_H
28 #define	_SYS_SYSEVENT_AP_DRIVER_H
29 
30 #pragma ident	"%Z%%M%	%I%	%E% SMI"
31 
32 #ifdef	__cplusplus
33 extern "C" {
34 #endif
35 
36 /*
37  * Event type EC_AP_DRIVER/ESC_AP_DRIVER_PATHSWITCH schema
38  *	Event Class	- EC_AP_DRIVER
39  *	Event Sub-Class	- ESC_AP_DRIVER_PATHSWITCH
40  *	Event Publisher	- SUNW:kern:ap
41  *	Attribute Name	- AP_DRIVER_PATHGROUP
42  *	Attribute Type  - SE_DATA_TYPE_STRING
43  *	Attribute Value	- [pathgroup name, e.g. "sf:0", "mether1", etc.]
44  *
45  * Event type EC_AP_DRIVER/ESC_AP_DRIVER_COMMIT schema
46  *	Event Class	- EC_AP_DRIVER
47  *	Event Sub-Class	- ESC_AP_DRIVER_PATHSWITCH
48  *	Event Publisher	- SUNW:kern:ap
49  *	[no attributes]
50  *
51  * Event type EC_AP_DRIVER/ESC_AP_DRIVER_PATHSWITCH schema
52  *	Event Class	- EC_AP_DRIVER
53  *	Event Sub-Class	- ESC_AP_DRIVER_PATHSWITCH
54  *	Event Publisher	- SUNW:kern:ap
55  *	Attribute Name	- AP_DRIVER_PATHGROUP
56  *	Attribute Type  - SE_DATA_TYPE_STRING
57  *	Attribute Value	- [pathgroup name, e.g. "msf:0", "mether1", etc.]
58  *	Attribute Name	- AP_DRIVER_PHYSICAL
59  *	Attribute Type  - SE_DATA_TYPE_STRING
60  *	Attribute Value	- [physical path name, e.g. "pln:0", "hme2", etc.]
61  */
62 
63 #define	AP_DRIVER_PATHGROUP	"ap_driver_pathgroup"	/* pathgroup name */
64 #define	AP_DRIVER_PHYSICAL	"ap_driver_physical"	/* physpath name */
65 
66 #ifdef	__cplusplus
67 }
68 #endif
69 
70 #endif /* _SYS_SYSEVENT_AP_DRIVER_H */
71