]> git.hungrycats.org Git - linux/commitdiff
[PATCH] cciss: support MSA30 storage enclosures
authorAndrew Morton <akpm@osdl.org>
Mon, 29 Mar 2004 06:50:46 +0000 (22:50 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 29 Mar 2004 06:50:46 +0000 (22:50 -0800)
From: <mike.miller@hp.com>

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.

drivers/block/cciss_scsi.c

index d4be472c879dfb490448e681eef4a53113ef6e1d..a7b13d60f674ac88da78ce9b5eb5d7024a3af291 100644 (file)
@@ -1058,6 +1058,7 @@ cciss_update_non_disk_devices(int cntl_num, int hostno)
                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);