Skip to contentSkip to conversation

cciss update for 2.6 [1 of 2]

PATCH [email protected] 1 participant 1 message Mar 25, 2004 Block layer

lore
Share & tools
lore
#0 lore raw

Please consider this update for 2.6.

This change is required to support the new MSA30 storage enclosure.
If you do a SCSI inquiry to a SATA disk bad things happen. This patch prevents the inquiry from going to SATA disks.

 cciss_scsi.c |    1 +
 1 files changed, 1 insertion(+)

-------------------------------------------------------------------------------

drivers/block/cciss_scsi.c +1 -0
diff -burpN lx265-rc2.orig/drivers/block/cciss_scsi.c lx265-rc2-test/drivers/block/cciss_scsi.c
@@ -1058,6 +1058,7 @@ cciss_update_non_disk_devices(int cntl_n
 		int devtype;
 
 		/* for each physical lun, do an inquiry */
+		if (ld_buff->LUN[i][3] & 0xC0) continue;
 		memset(inq_buff, 0, sizeof(InquiryData_struct));
 		memcpy(&scsi3addr[0], &ld_buff->LUN[i][0], 8);