From: Mike Christie Date: Sat, 12 Jul 2008 00:50:34 +0000 (-0500) Subject: [SCSI] stex: fix queue depth setting X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d90027fb579eee41ec1b61f23195ed2fdd51da2;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [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 Cc: Ed Lin Signed-off-by: James Bottomley --- 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; }