From: Mike Christie Date: Sat, 12 Jul 2008 00:50:34 +0000 (-0500) Subject: [SCSI] stex: fix queue depth setting X-Git-Tag: v2.6.27-rc1~55^2~36 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5d90027fb579eee41ec1b61f23195ed2fdd51da2;p=linux-2.6-omap-h63xx.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 f308a030882..3790906a77d 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; }