]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI/PCI: call _OSC support during root bridge discovery
authorAndrew Patterson <andrew.patterson@hp.com>
Mon, 10 Nov 2008 22:30:45 +0000 (15:30 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:12:27 +0000 (11:12 -0800)
commit990a7ac5645883a833a11b900bb6f25b65dea65b
tree8644b7da9b41069d873d2b4dbe600bc5a828347d
parent8b62091e20215730be1b94b7cd135a78a3e692ca
ACPI/PCI: call _OSC support during root bridge discovery

Add pci_acpi_osc_support() and call it when a PCI bridge is added.  This
allows us to avoid having every individual PCI root bridge driver call
_OSC support for every root bridge in their probe functions, a
significant savings in boot time.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/acpi/pci_root.c
drivers/pci/pci-acpi.c
include/linux/pci-acpi.h