summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/devctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/devctl.h')
-rw-r--r--usr/src/uts/common/sys/devctl.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/uts/common/sys/devctl.h b/usr/src/uts/common/sys/devctl.h
index a201fded95..5dce50c72a 100644
--- a/usr/src/uts/common/sys/devctl.h
+++ b/usr/src/uts/common/sys/devctl.h
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -41,7 +41,7 @@ extern "C" {
* and nexus driver devctl IOCTL interface.
*
* Applications and nexus drivers may not access the contents of this
- * structure directly. Instead, drivers must use the ndi_dc_XXX(9n)
+ * structure directly. Instead, drivers must use the ndi_dc_*(9n)
* interfaces, while applications must use the interfaces provided by
* libdevice.so.1.
*/
@@ -230,6 +230,9 @@ typedef struct devctl_ap_state32 {
#define BUS_QUIESCED 0x20
#define BUS_SHUTDOWN 0x40
+#define DEVICE_STATES_ASCII "Dev_Online", "Dev_Busy", "Dev_Offline", \
+ "Dev_Down", "Bus_Active", "Bus_Quiesced", "Bus_Shutdown"
+
#define DC_DEVI_NODENAME "ndi_dc.devi_nodename"
#define DEVCTL_CONSTRUCT 0x1