projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d90c34
)
qla2xxx: Allow ISP83XX and ISP27XX both to write req_q_out register.
author
Joe Carnuccio
<joe.carnuccio@qlogic.com>
Fri, 11 Apr 2014 20:54:09 +0000
(16:54 -0400)
committer
Christoph Hellwig
<hch@lst.de>
Mon, 19 May 2014 11:30:59 +0000
(13:30 +0200)
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_mbx.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_mbx.c
b/drivers/scsi/qla2xxx/qla_mbx.c
index 2528709c4add35699fc08b81f8a8ca2a0b3c1505..9570597b1c456e23e3dc39211587307a4c39d5d2 100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_mbx.c
+++ b/
drivers/scsi/qla2xxx/qla_mbx.c
@@
-3697,7
+3697,7
@@
qla25xx_init_req_que(struct scsi_qla_host *vha, struct req_que *req)
spin_lock_irqsave(&ha->hardware_lock, flags);
if (!(req->options & BIT_0)) {
WRT_REG_DWORD(req->req_q_in, 0);
- if (!IS_QLA83XX(ha)
||
!IS_QLA27XX(ha))
+ if (!IS_QLA83XX(ha)
&&
!IS_QLA27XX(ha))
WRT_REG_DWORD(req->req_q_out, 0);
}
spin_unlock_irqrestore(&ha->hardware_lock, flags);