* [PATCH] cciss: set SCSI max cmd len to 16, as default is wrong.
@ 2010-06-11 21:44 Stephen M. Cameron
0 siblings, 0 replies; only message in thread
From: Stephen M. Cameron @ 2010-06-11 21:44 UTC (permalink / raw)
To: axboe; +Cc: akpm, mikem, linux-kernel, brace
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
cciss: set SCSI max cmd len to 16, as default is wrong.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
---
drivers/block/cciss_scsi.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/block/cciss_scsi.c b/drivers/block/cciss_scsi.c
index e1d0e2c..e082a26 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-11 21:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-11 21:44 [PATCH] cciss: set SCSI max cmd len to 16, as default is wrong Stephen M. Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome