diff options
author | Guoli Shu <Kerry.Shu@Sun.COM> | 2008-12-19 18:29:24 -0800 |
---|---|---|
committer | Guoli Shu <Kerry.Shu@Sun.COM> | 2008-12-19 18:29:24 -0800 |
commit | 42f87ea29774769e90a36caa2a9075c07dacac50 (patch) | |
tree | a2f06569f994cb21105abe17c68d12a714069a16 | |
parent | 5087e485d482853e61c9d38d8197dee892c7f43d (diff) | |
download | illumos-joyent-42f87ea29774769e90a36caa2a9075c07dacac50.tar.gz |
6769991 Boot panic on ZFS installed snv_b104
-rw-r--r-- | usr/src/uts/common/io/pci-ide/pci-ide.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/pci-ide/pci-ide.c b/usr/src/uts/common/io/pci-ide/pci-ide.c index 9e11862782..7156aaa091 100644 --- a/usr/src/uts/common/io/pci-ide/pci-ide.c +++ b/usr/src/uts/common/io/pci-ide/pci-ide.c @@ -39,6 +39,7 @@ #include <sys/modctl.h> #include <sys/ddi.h> #include <sys/sunddi.h> +#include <sys/sunndi.h> #include <sys/mach_intr.h> #include <sys/kmem.h> #include <sys/pci.h> @@ -792,7 +793,7 @@ pciide_compat_setup(dev_info_t *mydip, dev_info_t *cdip, int dev) */ if ((dev == 0 && !(class_code & PCI_IDE_IF_NATIVE_PRI)) || (dev == 1 && !(class_code & PCI_IDE_IF_NATIVE_SEC))) { - rc = ddi_prop_update_int(DDI_DEV_T_NONE, cdip, + rc = ndi_prop_update_int(DDI_DEV_T_NONE, cdip, "compatibility-mode", 1); if (rc != DDI_PROP_SUCCESS) cmn_err(CE_WARN, |