summaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss_scsi.c
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2010-06-15 08:12:34 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-06-15 08:12:34 +0200
commit79600aadcf35dd31ec284928cf45296fea98db61 (patch)
tree545ebd8499e79af3adbbccb9ae900b3bc9cdaeec /drivers/block/cciss_scsi.c
parent552618d124b68d41c2effaaaa3ca5b8ce9598502 (diff)
downloadlinux-79600aadcf35dd31ec284928cf45296fea98db61.tar.gz
linux-79600aadcf35dd31ec284928cf45296fea98db61.tar.bz2
linux-79600aadcf35dd31ec284928cf45296fea98db61.zip
cciss: set SCSI max cmd len to 16, as default is wrong
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Cc: Mike Miller <mikem@beardog.cce.hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/block/cciss_scsi.c')
-rw-r--r--drivers/block/cciss_scsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/cciss_scsi.c b/drivers/block/cciss_scsi.c
index 3381505c8a6c..72dae92f3cab 100644
--- 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;