aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2012-08-14 14:26:20 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-09-14 12:59:24 -0400
commit1c13bf664894b34ace55fce49cc49598267787b7 (patch)
tree7cd3820abf76ac3d50e1782dcd5bf290f30ab15c /drivers/scsi/lpfc
parent247ca945d8153c96dd10fc94f12b36bd4cb3ecfd (diff)
[SCSI] lpfc 8.3.34: Adjust IO Channels to 1 when INTx
Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc')
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 9ad7943414dd..654564fead6c 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -9524,7 +9524,7 @@ lpfc_pci_probe_one_s4(struct pci_dev *pdev, const struct pci_device_id *pid)
9524 } 9524 }
9525 /* Default to single EQ for non-MSI-X */ 9525 /* Default to single EQ for non-MSI-X */
9526 if (phba->intr_type != MSIX) 9526 if (phba->intr_type != MSIX)
9527 adjusted_fcp_io_channel = 0; 9527 adjusted_fcp_io_channel = 1;
9528 else if (phba->sli4_hba.msix_vec_nr < 9528 else if (phba->sli4_hba.msix_vec_nr <
9529 phba->cfg_fcp_io_channel) 9529 phba->cfg_fcp_io_channel)
9530 adjusted_fcp_io_channel = phba->sli4_hba.msix_vec_nr; 9530 adjusted_fcp_io_channel = phba->sli4_hba.msix_vec_nr;