diff options
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 96f70d7e058..551ddcb5f94 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -828,6 +828,11 @@ static inline int pci_enable_wake(struct pci_dev *dev, pci_power_t state, | |||
828 | return __pci_enable_wake(dev, state, false, enable); | 828 | return __pci_enable_wake(dev, state, false, enable); |
829 | } | 829 | } |
830 | 830 | ||
831 | #define PCI_EXP_IDO_REQUEST (1<<0) | ||
832 | #define PCI_EXP_IDO_COMPLETION (1<<1) | ||
833 | void pci_enable_ido(struct pci_dev *dev, unsigned long type); | ||
834 | void pci_disable_ido(struct pci_dev *dev, unsigned long type); | ||
835 | |||
831 | /* For use by arch with custom probe code */ | 836 | /* For use by arch with custom probe code */ |
832 | void set_pcie_port_type(struct pci_dev *pdev); | 837 | void set_pcie_port_type(struct pci_dev *pdev); |
833 | void set_pcie_hotplug_bridge(struct pci_dev *pdev); | 838 | void set_pcie_hotplug_bridge(struct pci_dev *pdev); |
@@ -1207,6 +1212,14 @@ static inline int pci_enable_wake(struct pci_dev *dev, pci_power_t state, | |||
1207 | return 0; | 1212 | return 0; |
1208 | } | 1213 | } |
1209 | 1214 | ||
1215 | static inline void pci_enable_ido(struct pci_dev *dev, unsigned long type) | ||
1216 | { | ||
1217 | } | ||
1218 | |||
1219 | static inline void pci_disable_ido(struct pci_dev *dev, unsigned long type) | ||
1220 | { | ||
1221 | } | ||
1222 | |||
1210 | static inline int pci_request_regions(struct pci_dev *dev, const char *res_name) | 1223 | static inline int pci_request_regions(struct pci_dev *dev, const char *res_name) |
1211 | { | 1224 | { |
1212 | return -EIO; | 1225 | return -EIO; |