From: Jack Hammer Date: Fri, 13 Jan 2006 15:06:50 +0000 (-0500) Subject: [SCSI] ips: Mode Sense (Caching Page ) fix X-Git-Tag: v2.6.16-rc1~162^2~38 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=560c26c8345509619c3575331b99b329b5de1054;p=linux-2.6 [SCSI] ips: Mode Sense (Caching Page ) fix To avoid the "sda: got wrong page" message, the ServeRAID driver should be setting flags indicating that the Mode Sense commands are not supported. Signed-off-by: Jack Hammer Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index 3882d48a42..e5e1ca44e1 100644 --- a/drivers/scsi/ips.c +++ b/drivers/scsi/ips.c @@ -1319,6 +1319,9 @@ ips_slave_configure(struct scsi_device * SDptr) min = ha->max_cmds - 1; scsi_adjust_queue_depth(SDptr, MSG_ORDERED_TAG, min); } + + SDptr->skip_ms_page_8 = 1; + SDptr->skip_ms_page_3f = 1; return 0; } #endif