diff options
author | Taku Izumi <izumi.taku@jp.fujitsu.com> | 2008-10-17 00:52:51 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-22 19:42:35 -0400 |
commit | d389fec6a2aec1ea7d47833f36a0413a619c8c12 (patch) | |
tree | f2cb010b0ea9a995cf19bc7c43e59ad47fffe5e2 /drivers/pci/pci.h | |
parent | ab20440c376ff0454cb93904a888212d874fbb6b (diff) |
ACPI/PCI: Set support bit for MSI in support field of _OSC
Currently linux doesn't have any code to set the "MSI supported" bit in
Support Fireld of _OSC. This patch adds the code for that.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r-- | drivers/pci/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index b205ab866a1d..9de87e9f98f5 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h | |||
@@ -98,9 +98,11 @@ extern unsigned int pci_pm_d3_delay; | |||
98 | #ifdef CONFIG_PCI_MSI | 98 | #ifdef CONFIG_PCI_MSI |
99 | void pci_no_msi(void); | 99 | void pci_no_msi(void); |
100 | extern void pci_msi_init_pci_dev(struct pci_dev *dev); | 100 | extern void pci_msi_init_pci_dev(struct pci_dev *dev); |
101 | extern void __devinit msi_init(void); | ||
101 | #else | 102 | #else |
102 | static inline void pci_no_msi(void) { } | 103 | static inline void pci_no_msi(void) { } |
103 | static inline void pci_msi_init_pci_dev(struct pci_dev *dev) { } | 104 | static inline void pci_msi_init_pci_dev(struct pci_dev *dev) { } |
105 | static inline void msi_init(void) { } | ||
104 | #endif | 106 | #endif |
105 | 107 | ||
106 | #ifdef CONFIG_PCIEAER | 108 | #ifdef CONFIG_PCIEAER |