projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3013cea
)
[SCSI] qla4xxx: Use the correct request queue.
author
Vikas Chaudhary
<vikas.chaudhary@qlogic.com>
Fri, 30 Jul 2010 08:56:08 +0000
(14:26 +0530)
committer
James Bottomley
<James.Bottomley@suse.de>
Fri, 6 Aug 2010 16:56:52 +0000
(11:56 -0500)
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>
drivers/scsi/qla4xxx/ql4_iocb.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla4xxx/ql4_iocb.c
b/drivers/scsi/qla4xxx/ql4_iocb.c
index f89973deac5ba6735d71a59bc57bc26649689838..4ef9ba112ee87ecd55e4815a6572db9d9bf43106 100644
(file)
--- 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)
/* Calculate number of free request entries. */
if ((req_cnt + 2) >= ha->req_q_count) {
- cnt = (uint16_t)
le32_to_cpu(ha->shadow_regs->req_q_out
);
+ cnt = (uint16_t)
ha->isp_ops->rd_shdw_req_q_out(ha
);
if (ha->request_in < cnt)
ha->req_q_count = cnt - ha->request_in;
else