diff options
author | Dan Williams <dan.j.williams@intel.com> | 2007-04-18 10:46:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-05-03 04:02:37 +0200 |
commit | f282b97021ddc95c6092b9016f667c0963858fb1 (patch) | |
tree | 3a9b6e1a7b1afa732eaf31fd9b8793f245e85422 /drivers/pci/Kconfig | |
parent | MSI: Remove dev->first_msi_irq (diff) | |
download | linux-f282b97021ddc95c6092b9016f667c0963858fb1.tar.xz linux-f282b97021ddc95c6092b9016f667c0963858fb1.zip |
msi: introduce ARCH_SUPPORTS_MSI Kconfig option (rev2)
Allows architectures to advertise that they support MSI rather than listing
each architecture as a PCI_MSI dependency.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/Kconfig')
-rw-r--r-- | drivers/pci/Kconfig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index 5ea5bc70cb82..70efe8f285a6 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -1,10 +1,14 @@ # # PCI configuration # +config ARCH_SUPPORTS_MSI + bool + default n + config PCI_MSI bool "Message Signaled Interrupts (MSI and MSI-X)" depends on PCI - depends on (X86_LOCAL_APIC && X86_IO_APIC) || IA64 || SPARC64 + depends on ARCH_SUPPORTS_MSI help This allows device drivers to enable MSI (Message Signaled Interrupts). Message Signaled Interrupts enable a device to |