diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-07-11 19:50:34 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-26 15:14:49 -0400 |
commit | 5d90027fb579eee41ec1b61f23195ed2fdd51da2 (patch) | |
tree | b49bccaadd1d13d8d77ea2b05bb7eb388b0b5094 /drivers/scsi/stex.c | |
parent | d510d965e17a81d4d41c03a3927f6ef450b73ff5 (diff) | |
download | talos-op-linux-5d90027fb579eee41ec1b61f23195ed2fdd51da2.tar.gz talos-op-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 'drivers/scsi/stex.c')
-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; } |