changeset 876:f4b73398a0f7

6328260 no-bef-lba-access junk can be removed from sd
author yl194034
date Wed, 09 Nov 2005 19:10:43 -0800
parents ede1d7ce7bc3
children dacbad95c80a
files usr/src/uts/common/io/scsi/targets/sd.c
diffstat 1 files changed, 0 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/io/scsi/targets/sd.c	Wed Nov 09 18:29:14 2005 -0800
+++ b/usr/src/uts/common/io/scsi/targets/sd.c	Wed Nov 09 19:10:43 2005 -0800
@@ -4622,20 +4622,6 @@
 		}
 	}
 
-	/*
-	 * Next, look for 'no-bef-lba-access' prop on parent.
-	 * Its presence means the realmode driver doesn't support
-	 * LBA, so the target driver shouldn't advertise it as ok.
-	 * This should be a temporary condition; one day all
-	 * BEFs should support the LBA access functions.
-	 */
-	if ((lba != 0) && (ddi_getprop(DDI_DEV_T_ANY,
-	    ddi_get_parent(SD_DEVINFO(un)), DDI_PROP_DONTPASS,
-	    "no-bef-lba-access", 0) != 0)) {
-		/* BEF doesn't support LBA; don't advertise it as ok */
-		lba = 0;
-	}
-
 	if (lba != 0) {
 		dev_t dev = sd_make_device(SD_DEVINFO(un));