diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-05-07 09:52:22 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-05-07 09:52:22 -0500 |
commit | 96803199b774e0bdc5910d63be5839c4460bd856 (patch) | |
tree | 04a3820ff3314e1dd4583b5e32addf815abb1425 /drivers/pci/quirks.c | |
parent | 8c9bb608e8ac6fef829a629aa46a5238fad272a4 (diff) | |
download | op-kernel-dev-96803199b774e0bdc5910d63be5839c4460bd856.zip op-kernel-dev-96803199b774e0bdc5910d63be5839c4460bd856.tar.gz |
PCI/MSI: Drop pci_msi_off() calls from quirks
The PCI core now disables MSI and MSI-X for all devices during enumeration
regardless of CONFIG_PCI_MSI. Remove device-specific code to disable
MSI/MSI-X.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/quirks.c')
-rw-r--r-- | drivers/pci/quirks.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index c6dc1df..00b106f 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -1600,7 +1600,6 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EESSC, quirk_a static void quirk_pcie_mch(struct pci_dev *pdev) { - pci_msi_off(pdev); pdev->no_msi = 1; } DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_E7520_MCH, quirk_pcie_mch); @@ -1614,7 +1613,6 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_E7525_MCH, quir */ static void quirk_pcie_pxh(struct pci_dev *dev) { - pci_msi_off(dev); dev->no_msi = 1; dev_warn(&dev->dev, "PXH quirk detected; SHPC device MSI disabled\n"); } |