projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
552618d
)
cciss: set SCSI max cmd len to 16, as default is wrong
author
Stephen M. Cameron
<
[email protected]
>
Tue, 15 Jun 2010 06:12:34 +0000
(08:12 +0200)
committer
Jens Axboe
<
[email protected]
>
Tue, 15 Jun 2010 06:12:34 +0000
(08:12 +0200)
Signed-off-by: Stephen M. Cameron <
[email protected]
>
Cc: Mike Miller <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Jens Axboe <
[email protected]
>
drivers/block/cciss_scsi.c
patch
|
blob
|
history
diff --git
a/drivers/block/cciss_scsi.c
b/drivers/block/cciss_scsi.c
index 3381505c8a6c309c7838cb7d0a4daff7e3e162e7..72dae92f3cab89770e0c43abd6e7b01aa554b62c 100644
(file)
--- a/
drivers/block/cciss_scsi.c
+++ b/
drivers/block/cciss_scsi.c
@@
-861,6
+861,7
@@
cciss_scsi_detect(int ctlr)
sh->n_io_port = 0; // I don't think we use these two...
sh->this_id = SELF_SCSI_ID;
sh->sg_tablesize = hba[ctlr]->maxsgentries;
+ sh->max_cmd_len = MAX_COMMAND_SIZE;
((struct cciss_scsi_adapter_data_t *)
hba[ctlr]->scsi_ctlr)->scsi_host = sh;