[SCSI] qla4xxx: 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: David Somayajulu <david.somayajulu@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by

Mike Christie and committed by
James Bottomley
d510d965 885ace9e

+3 -1
+3 -1
drivers/scsi/qla4xxx/ql4_os.c
··· 46 46 47 47 int ql4_mod_unload = 0; 48 48 49 + #define QL4_DEF_QDEPTH 32 50 + 49 51 /* 50 52 * SCSI host template entry points 51 53 */ ··· 1389 1387 1390 1388 sdev->hostdata = ddb; 1391 1389 sdev->tagged_supported = 1; 1392 - scsi_activate_tcq(sdev, sdev->host->can_queue); 1390 + scsi_activate_tcq(sdev, QL4_DEF_QDEPTH); 1393 1391 return 0; 1394 1392 } 1395 1393