diff options
| author | Heiner Kallweit <[email protected]> | 2017-12-12 07:40:56 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-12-13 14:51:50 -0500 |
| commit | fc0f9f4d2f26b12fd2eda239bb8f18ceaf192c91 (patch) | |
| tree | 42ffc390d9e5fe9077b505f5762c1b767e3a9ac7 /include/linux | |
| parent | ec94c2696f0bcd5ae92a553244e4ac30d2171a2d (diff) | |
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 <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux')
| -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); |