mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
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>
This commit is contained in:
parent
552618d124
commit
79600aadcf
1 changed files with 1 additions and 0 deletions
|
@ -861,6 +861,7 @@ cciss_scsi_detect(int ctlr)
|
||||||
sh->n_io_port = 0; // I don't think we use these two...
|
sh->n_io_port = 0; // I don't think we use these two...
|
||||||
sh->this_id = SELF_SCSI_ID;
|
sh->this_id = SELF_SCSI_ID;
|
||||||
sh->sg_tablesize = hba[ctlr]->maxsgentries;
|
sh->sg_tablesize = hba[ctlr]->maxsgentries;
|
||||||
|
sh->max_cmd_len = MAX_COMMAND_SIZE;
|
||||||
|
|
||||||
((struct cciss_scsi_adapter_data_t *)
|
((struct cciss_scsi_adapter_data_t *)
|
||||||
hba[ctlr]->scsi_ctlr)->scsi_host = sh;
|
hba[ctlr]->scsi_ctlr)->scsi_host = sh;
|
||||||
|
|
Loading…
Reference in a new issue