Commit 79600aadcf35dd31ec284928cf45296fea98db61
Committed by
Jens Axboe
1 parent
552618d124
Exists in
master
and in
4 other branches
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>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
drivers/block/cciss_scsi.c
... | ... | @@ -861,6 +861,7 @@ |
861 | 861 | sh->n_io_port = 0; // I don't think we use these two... |
862 | 862 | sh->this_id = SELF_SCSI_ID; |
863 | 863 | sh->sg_tablesize = hba[ctlr]->maxsgentries; |
864 | + sh->max_cmd_len = MAX_COMMAND_SIZE; | |
864 | 865 | |
865 | 866 | ((struct cciss_scsi_adapter_data_t *) |
866 | 867 | hba[ctlr]->scsi_ctlr)->scsi_host = sh; |