ACPI/PCI: PCIe AER _OSC support capabilities called when root bridge added
authorAndrew Patterson <andrew.patterson@hp.com>
Mon, 10 Nov 2008 22:31:00 +0000 (15:31 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:12:30 +0000 (11:12 -0800)
The _OSC capability OSC_EXT_PCI_CONFIG_SUPPORT is set when the root
bridge is added with pci_acpi_osc_support(), so we no longer need to do
it in the PCIe AER driver.

Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aer/aerdrv_acpi.c

index 6dd7b13e9808072bab1bf605ab997d817592efb1..ebce26c37049ad5ccc0483da56d3df682f865414 100644 (file)
@@ -38,7 +38,6 @@ int aer_osc_setup(struct pcie_device *pciedev)
 
        handle = acpi_find_root_bridge_handle(pdev);
        if (handle) {
-               pcie_osc_support_set(OSC_EXT_PCI_CONFIG_SUPPORT);
                status = pci_osc_control_set(handle,
                                        OSC_PCI_EXPRESS_AER_CONTROL |
                                        OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL);