summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/autoconf.c
diff options
context:
space:
mode:
authorChris Horne <Chris.Horne@Sun.COM>2008-11-05 06:47:46 -0700
committerChris Horne <Chris.Horne@Sun.COM>2008-11-05 06:47:46 -0700
commit62a24de03df1f2399ceda704cb3874dabc98bbbd (patch)
treea8177140d3f64d6d964fbc9bd74912a35778a048 /usr/src/uts/common/os/autoconf.c
parent385470574fb49e32c324af06c01d697a16cc3c4b (diff)
downloadillumos-gate-62a24de03df1f2399ceda704cb3874dabc98bbbd.tar.gz
PSARC/2008/674 nulldriver
6767139 nulldriver
Diffstat (limited to 'usr/src/uts/common/os/autoconf.c')
-rw-r--r--usr/src/uts/common/os/autoconf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/os/autoconf.c b/usr/src/uts/common/os/autoconf.c
index 9e114a599f..2a9d6d6787 100644
--- a/usr/src/uts/common/os/autoconf.c
+++ b/usr/src/uts/common/os/autoconf.c
@@ -62,6 +62,7 @@ static char *rootname; /* node name of top_devinfo */
kmutex_t global_vhci_lock;
major_t mm_major;
+major_t nulldriver_major;
/*
* Forward declarations
@@ -469,6 +470,7 @@ i_ddi_init_root()
clone_dip = i_ddi_attach_pseudo_node("clone");
clone_major = ddi_driver_major(clone_dip);
mm_major = ddi_name_to_major("mm");
+ nulldriver_major = ddi_name_to_major("nulldriver");
/*
* Attach scsi_vhci for MPXIO, this registers scsi vhci class