Skip to content

Commit

Permalink
[SCSI] ips: Mode Sense (Caching Page ) fix
Browse files Browse the repository at this point in the history
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 <jack_hammer@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  • Loading branch information
Jack Hammer authored and James Bottomley committed Jan 14, 2006
1 parent ad757cd commit 560c26c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/scsi/ips.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 560c26c

Please sign in to comment.