ACPI/PCI: PCI MSI _OSC support capabilities called when root bridge added
authorAndrew Patterson <andrew.patterson@hp.com>
Mon, 10 Nov 2008 22:31:05 +0000 (15:31 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:12:31 +0000 (11:12 -0800)
commit07ae95f988a34465bdcb384bfa73c03424fe2312
tree4e1901b7fd2ccfdb85a92953c0010a4d3900a3f8
parenteb9188bdb9d65aeead2382ec3dd656a17ec8936d
ACPI/PCI: PCI MSI _OSC support capabilities called when root bridge added

The _OSC capability OSC_MSI_SUPPORT is set when the root bridge is added
with pci_acpi_osc_support(), so we no longer need to do it in the PCI
MSI driver.  Also adds the function pci_msi_enabled, which returns true
if pci=nomsi is not on the kernel command-line.

Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/acpi/pci_root.c
drivers/pci/msi.c
drivers/pci/pci.c
drivers/pci/pci.h
include/linux/pci.h