From: mike.miller@hp.com
To: akpm@osdl.org, arjanv@redhat.com
Cc: axboe@suse.de, linux-kernel@vger.kernel.org
Subject: cciss update for 2.6 [1 of 2]
Date: Thu, 25 Mar 2004 14:14:55 -0600 [thread overview]
Message-ID: <20040325201455.GD4456@beardog.cca.cpqcorp.net> (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(+)
-------------------------------------------------------------------------------
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);
reply other threads:[~2004-03-25 20:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040325201455.GD4456@beardog.cca.cpqcorp.net \
--to=mike.miller@hp.com \
--cc=akpm@osdl.org \
--cc=arjanv@redhat.com \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®