changeset 6732:7cf5cf669a8a

6707457 ddi_prop_lookup_string: invalid flag 0xb (prop = smp-wwn, node = smp0)
author cth
date Tue, 27 May 2008 17:04:57 -0700
parents 304ff7d07a47
children 1db40e194d28
files usr/src/uts/common/io/scsi/impl/scsi_hba.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/io/scsi/impl/scsi_hba.c	Tue May 27 17:03:53 2008 -0700
+++ b/usr/src/uts/common/io/scsi/impl/scsi_hba.c	Tue May 27 17:04:57 2008 -0700
@@ -745,7 +745,7 @@
 	ASSERT(hba != NULL);
 
 	if (ddi_prop_lookup_string(DDI_DEV_T_ANY, rdip,
-	    DDI_PROP_DONTPASS | DDI_PROP_CANSLEEP | DDI_PROP_NOTPROM,
+	    DDI_PROP_DONTPASS | DDI_PROP_NOTPROM,
 	    SMP_WWN, &smp_wwn) != DDI_SUCCESS) {
 		return (DDI_FAILURE);
 	}
@@ -794,7 +794,7 @@
 	smp->smp_addr.a_hba_tran = hba;
 
 	if (ddi_prop_lookup_string(DDI_DEV_T_ANY, rdip,
-	    DDI_PROP_DONTPASS | DDI_PROP_CANSLEEP | DDI_PROP_NOTPROM,
+	    DDI_PROP_DONTPASS | DDI_PROP_NOTPROM,
 	    SMP_WWN, &smp_wwn) != DDI_SUCCESS) {
 		return (DDI_FAILURE);
 	}