projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad757cd
)
[SCSI] ips: Mode Sense (Caching Page ) fix
author
Jack Hammer
<jack_hammer@adaptec.com>
Fri, 13 Jan 2006 15:06:50 +0000
(10:06 -0500)
committer
James Bottomley
<jejb@mulgrave.(none)>
Sat, 14 Jan 2006 16:54:53 +0000
(10:54 -0600)
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>
drivers/scsi/ips.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/ips.c
b/drivers/scsi/ips.c
index 3882d48a42bf5c5e9fa739b529059bcb3211e007..e5e1ca44e1eea831e17814c84d81db91b62be2cf 100644
(file)
--- 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