mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* cciss update for 2.6 [1 of 2]
@ 2004-03-25 20:14 mike.miller
  0 siblings, 0 replies; only message in thread
From: mike.miller @ 2004-03-25 20:14 UTC (permalink / raw)
  To: akpm, arjanv; +Cc: axboe, linux-kernel

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(+)
-------------------------------------------------------------------------------
diff -burpN lx265-rc2.orig/drivers/block/cciss_scsi.c lx265-rc2-test/drivers/block/cciss_scsi.c
--- lx265-rc2.orig/drivers/block/cciss_scsi.c	2004-03-24 14:22:15.000000000 -0600
+++ lx265-rc2-test/drivers/block/cciss_scsi.c	2004-03-25 13:45:12.000000000 -0600
@@ -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);
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-25 20:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-25 20:14 cciss update for 2.6 [1 of 2] mike.miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®