diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2010-07-30 04:56:08 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-08-06 12:56:52 -0400 |
commit | b173a132cbf0a4a48b2f341716e20a6d8b24957e (patch) | |
tree | 5558e747f02ae1322cb6c1fdad90ea4ced636aed /drivers/scsi/qla4xxx | |
parent | 3013cea83ef3532e49b973a0bc9b3562f56871c6 (diff) |
[SCSI] qla4xxx: Use the correct request queue.
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: Ravi Anand <ravi.anand@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla4xxx')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_iocb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_iocb.c b/drivers/scsi/qla4xxx/ql4_iocb.c index f89973deac5b..4ef9ba112ee8 100644 --- a/drivers/scsi/qla4xxx/ql4_iocb.c +++ b/drivers/scsi/qla4xxx/ql4_iocb.c | |||
@@ -19,7 +19,7 @@ qla4xxx_space_in_req_ring(struct scsi_qla_host *ha, uint16_t req_cnt) | |||
19 | 19 | ||
20 | /* Calculate number of free request entries. */ | 20 | /* Calculate number of free request entries. */ |
21 | if ((req_cnt + 2) >= ha->req_q_count) { | 21 | if ((req_cnt + 2) >= ha->req_q_count) { |
22 | cnt = (uint16_t) le32_to_cpu(ha->shadow_regs->req_q_out); | 22 | cnt = (uint16_t) ha->isp_ops->rd_shdw_req_q_out(ha); |
23 | if (ha->request_in < cnt) | 23 | if (ha->request_in < cnt) |
24 | ha->req_q_count = cnt - ha->request_in; | 24 | ha->req_q_count = cnt - ha->request_in; |
25 | else | 25 | else |