Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79600aad authored by Stephen M. Cameron's avatar Stephen M. Cameron Committed by Jens Axboe
Browse files

cciss: set SCSI max cmd len to 16, as default is wrong



Signed-off-by: default avatarStephen M. Cameron <scameron@beardog.cce.hp.com>
Cc: Mike Miller <mikem@beardog.cce.hp.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 552618d1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;