Commit 5d90027fb579eee41ec1b61f23195ed2fdd51da2

Authored by Mike Christie
Committed by James Bottomley
1 parent d510d965e1

[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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -467,7 +467,7 @@
467 467 /* Cheat: usually extracted from Inquiry data */
468 468 sdev->tagged_supported = 1;
469 469  
470   - scsi_activate_tcq(sdev, sdev->host->can_queue);
  470 + scsi_activate_tcq(sdev, ST_CMD_PER_LUN);
471 471  
472 472 return 0;
473 473 }