|
@@ -1676,9 +1676,11 @@ skip_pio:
|
|
|
|
|
|
/* 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) {
|