Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da7429f9 authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley
Browse files

[SCSI] qla2xxx: Restrict MSI/MSI-X enablement on select ISP2432-type HBAs.

parent 6f13fd57
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -1829,6 +1829,18 @@ qla2x00_request_irqs(scsi_qla_host_t *ha)
		goto skip_msix;
		goto skip_msix;
	}
	}


	if (ha->pdev->subsystem_vendor == PCI_VENDOR_ID_HP &&
	    (ha->pdev->subsystem_device == 0x7040 ||
		ha->pdev->subsystem_device == 0x7041 ||
		ha->pdev->subsystem_device == 0x1705)) {
		DEBUG2(qla_printk(KERN_WARNING, ha,
		    "MSI-X: Unsupported ISP2432 SSVID/SSDID (0x%X, 0x%X).\n",
		    ha->pdev->subsystem_vendor,
		    ha->pdev->subsystem_device));

		goto skip_msi;
	}

	ret = qla24xx_enable_msix(ha);
	ret = qla24xx_enable_msix(ha);
	if (!ret) {
	if (!ret) {
		DEBUG2(qla_printk(KERN_INFO, ha,
		DEBUG2(qla_printk(KERN_INFO, ha,