aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfad_intr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/bfa/bfad_intr.c')
-rw-r--r--drivers/scsi/bfa/bfad_intr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfad_intr.c b/drivers/scsi/bfa/bfad_intr.c
index 2b7dbecbebca..fed27d163655 100644
--- a/drivers/scsi/bfa/bfad_intr.c
+++ b/drivers/scsi/bfa/bfad_intr.c
@@ -151,8 +151,8 @@ bfad_setup_intr(struct bfad_s *bfad)
151 /* Set up the msix entry table */ 151 /* Set up the msix entry table */
152 bfad_init_msix_entry(bfad, msix_entries, mask, max_bit); 152 bfad_init_msix_entry(bfad, msix_entries, mask, max_bit);
153 153
154 if ((pdev->device == BFA_PCI_DEVICE_ID_CT && !msix_disable_ct) || 154 if ((bfa_asic_id_ct(pdev->device) && !msix_disable_ct) ||
155 (pdev->device != BFA_PCI_DEVICE_ID_CT && !msix_disable_cb)) { 155 (!bfa_asic_id_ct(pdev->device) && !msix_disable_cb)) {
156 156
157 error = pci_enable_msix(bfad->pcidev, msix_entries, bfad->nvec); 157 error = pci_enable_msix(bfad->pcidev, msix_entries, bfad->nvec);
158 if (error) { 158 if (error) {