summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/sunndi.h
diff options
context:
space:
mode:
authorcth <none@none>2006-06-08 16:03:08 -0700
committercth <none@none>2006-06-08 16:03:08 -0700
commit5e3986cb9bc07bde1dfa1a7028d5ad3e501abae4 (patch)
tree2fe2331bc52401ed96a5ffb073cd13d4262099ce /usr/src/uts/common/sys/sunndi.h
parenteaa0962daa5398b8d08376d2c36d6f72906490a2 (diff)
downloadillumos-gate-5e3986cb9bc07bde1dfa1a7028d5ad3e501abae4.tar.gz
6423041 PSARC 2006/242 'mdi interfaces to support pHCI driver locking' and related fixes
Diffstat (limited to 'usr/src/uts/common/sys/sunndi.h')
-rw-r--r--usr/src/uts/common/sys/sunndi.h41
1 files changed, 21 insertions, 20 deletions
diff --git a/usr/src/uts/common/sys/sunndi.h b/usr/src/uts/common/sys/sunndi.h
index 88879be491..dede7d8f10 100644
--- a/usr/src/uts/common/sys/sunndi.h
+++ b/usr/src/uts/common/sys/sunndi.h
@@ -280,26 +280,27 @@ ndi_devi_unconfig_driver(dev_info_t *dip, int flags, major_t major);
* first taking it Offline.
*/
-#define NDI_DEVI_REMOVE 0x00001 /* remove after unconfig */
-#define NDI_ONLINE_ATTACH 0x00002 /* online/attach after config */
-#define NDI_MDI_FALLBACK 0x00004 /* Leadville to fallback to phci */
-#define NDI_CONFIG 0x00008 /* recursively config descendants */
-#define NDI_UNCONFIG 0x00010 /* unconfig to uninitialized state */
-#define NDI_DEVI_BIND 0x00020 /* transition to DS_BOUND state */
-#define NDI_DEVI_PERSIST 0x00040 /* do not config offlined nodes */
-#define NDI_PROMNAME 0x00080 /* name comes from prom */
-#define NDI_DEVFS_CLEAN 0x01000 /* clean up dv_nodes only, no detach */
-#define NDI_AUTODETACH 0x02000 /* moduninstall daemon */
-#define NDI_NO_EVENT 0x04000 /* don't devfs add/remove events */
-#define NDI_DEVI_DEBUG 0x08000 /* turn on observability */
-#define NDI_CONFIG_REPROBE 0x10000 /* force a reprobe (deferred attach) */
-#define NDI_DEVI_ONLINE 0x20000 /* force offlined device to online */
-#define NDI_DEVI_OFFLINE 0x40000 /* set detached device to offline */
-#define NDI_POST_EVENT 0x80000 /* Post NDI events before remove */
-#define NDI_BRANCH_EVENT_OP 0x1000000 /* branch op needing a branch event */
-#define NDI_NO_EVENT_STATE_CHNG 0x2000000 /* don't change the event state */
-#define NDI_DRV_CONF_REPROBE 0x4000000 /* reprobe conf-enum'd nodes only */
-#define NDI_DETACH_DRIVER 0x8000000 /* performing driver_detach */
+#define NDI_DEVI_REMOVE 0x00000001 /* remove after unconfig */
+#define NDI_ONLINE_ATTACH 0x00000002 /* online/attach after config */
+#define NDI_MDI_FALLBACK 0x00000004 /* Leadville to fallback to phci */
+#define NDI_CONFIG 0x00000008 /* recursively config descendants */
+#define NDI_UNCONFIG 0x00000010 /* unconfig to uninitialized state */
+#define NDI_DEVI_BIND 0x00000020 /* transition to DS_BOUND state */
+#define NDI_DEVI_PERSIST 0x00000040 /* do not config offlined nodes */
+#define NDI_PROMNAME 0x00000080 /* name comes from prom */
+#define NDI_DEVFS_CLEAN 0x00001000 /* clean dv_nodes only, no detach */
+#define NDI_AUTODETACH 0x00002000 /* moduninstall daemon */
+#define NDI_NO_EVENT 0x00004000 /* don't devfs add/remove events */
+#define NDI_DEVI_DEBUG 0x00008000 /* turn on observability */
+#define NDI_CONFIG_REPROBE 0x00010000 /* force reprobe (deferred attach) */
+#define NDI_DEVI_ONLINE 0x00020000 /* force offlined device to online */
+#define NDI_DEVI_OFFLINE 0x00040000 /* set detached device to offline */
+#define NDI_POST_EVENT 0x00080000 /* Post NDI events before remove */
+#define NDI_BRANCH_EVENT_OP 0x01000000 /* branch op needs branch event */
+#define NDI_NO_EVENT_STATE_CHNG 0x02000000 /* don't change the event state */
+#define NDI_DRV_CONF_REPROBE 0x04000000 /* reprobe conf-enum'd nodes only */
+#define NDI_DETACH_DRIVER 0x08000000 /* performing driver_detach */
+#define NDI_MTC_OFF 0x10000000 /* disable multi-threading */
/* ndi interface flag values */
#define NDI_SLEEP 0x000000