mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[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 <jack_hammer@adaptec.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
ad757cdfd2
commit
560c26c834
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue