]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI/PCI: PCIe ASPM _OSC support capabilities called when root bridge added
authorAndrew Patterson <andrew.patterson@hp.com>
Mon, 10 Nov 2008 22:30:55 +0000 (15:30 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:12:29 +0000 (11:12 -0800)
commit3e1b16002af29758b6bc9c38939d43838d9335bc
tree6782f844e3813355280ad3367c58d90d576901f2
parent0ef5f8f6159e44b4faa997be08d1a3bcbf44ad08
ACPI/PCI: PCIe ASPM _OSC support capabilities called when root bridge added

The _OSC capabilities OSC_ACTIVE_STATE_PWR_SUPPORT and
OSC_CLOCK_PWR_CAPABILITY_SUPPORT are set when the root bridge is added
with pci_acpi_osc_support(), so we no longer need to do it in the ASPM
driver.  Also add the function pcie_aspm_enabled, which returns true if
pcie_aspm=off 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/pcie/aspm.c
include/linux/pci.h