Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189489
b: refs/heads/master
c: d84a47c
h: refs/heads/master
i:
  189487: b61356a
v: v3
  • Loading branch information
Michael Hernandez authored and James Bottomley committed Mar 27, 2010
1 parent 0114ee8 commit f4d94a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 12cec63e40f9b9c2a4766a0f43404a9642062f35
refs/heads/master: d84a47c2e8d8880d068f23f3033f6f6987717b17
4 changes: 3 additions & 1 deletion trunk/drivers/scsi/qla2xxx/qla_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -1676,9 +1676,11 @@ qla2x00_iospace_config(struct qla_hw_data *ha)

/* Determine queue resources */
ha->max_req_queues = ha->max_rsp_queues = 1;
if ((ql2xmaxqueues <= 1 || ql2xmultique_tag < 1) &&
if ((ql2xmaxqueues <= 1 && !ql2xmultique_tag) ||
(ql2xmaxqueues > 1 && ql2xmultique_tag) ||
(!IS_QLA25XX(ha) && !IS_QLA81XX(ha)))
goto mqiobase_exit;

ha->mqiobase = ioremap(pci_resource_start(ha->pdev, 3),
pci_resource_len(ha->pdev, 3));
if (ha->mqiobase) {
Expand Down

0 comments on commit f4d94a9

Please sign in to comment.