diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-07-12 02:50:34 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-26 21:14:49 +0200 |
commit | 5d90027fb579eee41ec1b61f23195ed2fdd51da2 (patch) | |
tree | b49bccaadd1d13d8d77ea2b05bb7eb388b0b5094 /drivers/scsi/stex.c | |
parent | [SCSI] qla4xxx: fix queue depth setting (diff) | |
download | linux-5d90027fb579eee41ec1b61f23195ed2fdd51da2.tar.xz linux-5d90027fb579eee41ec1b61f23195ed2fdd51da2.zip |
[SCSI] stex: fix queue depth setting
We want to set the queue depth to something reasonable - not
the can_queue.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Cc: Ed Lin <ed.lin@promise.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/scsi/stex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c index f308a0308829..3790906a77d1 100644 --- a/drivers/scsi/stex.c +++ b/drivers/scsi/stex.c @@ -467,7 +467,7 @@ stex_slave_alloc(struct scsi_device *sdev) /* Cheat: usually extracted from Inquiry data */ sdev->tagged_supported = 1; - scsi_activate_tcq(sdev, sdev->host->can_queue); + scsi_activate_tcq(sdev, ST_CMD_PER_LUN); return 0; } |