lkml.org 
[lkml]   [2004]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectcciss update for 2.6 [1 of 2]
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);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.054 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site