diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2017-12-12 09:40:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-13 22:51:50 +0300 |
commit | fc0f9f4d2f26b12fd2eda239bb8f18ceaf192c91 (patch) | |
tree | 42ffc390d9e5fe9077b505f5762c1b767e3a9ac7 /include/linux/pci.h | |
parent | ec94c2696f0bcd5ae92a553244e4ac30d2171a2d (diff) | |
download | linux-fc0f9f4d2f26b12fd2eda239bb8f18ceaf192c91.tar.xz |
PCI: Add pcim_set_mwi(), a device-managed pci_set_mwi()
Add pcim_set_mwi(), a device-managed version of pci_set_mwi().
First user is the Realtek r8169 driver.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 0403894147a3..483b780655bb 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1072,6 +1072,7 @@ int pci_set_pcie_reset_state(struct pci_dev *dev, enum pcie_reset_state state); int pci_set_cacheline_size(struct pci_dev *dev); #define HAVE_PCI_SET_MWI int __must_check pci_set_mwi(struct pci_dev *dev); +int __must_check pcim_set_mwi(struct pci_dev *dev); int pci_try_set_mwi(struct pci_dev *dev); void pci_clear_mwi(struct pci_dev *dev); void pci_intx(struct pci_dev *dev, int enable); |