]> git.baikalelectronics.ru Git - kernel.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)
commitffc79e321bde1416d79a7f671645212cfdd71912
tree8644b7da9b41069d873d2b4dbe600bc5a828347d
parent9dd348e306846835d3c3a2877fcaf9e09a796881
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