From: Andrew Patterson Date: Wed, 23 Jan 2008 00:18:12 +0000 (-0700) Subject: PCI ACPI: Added a function to register _OSC with only PCIe devices. X-Git-Tag: v2.6.25-rc1~1074^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2778357234f84668eab5558b54ad28478439d0b;p=pandora-kernel.git PCI ACPI: Added a function to register _OSC with only PCIe devices. The function pci_osc_support_set() traverses every root bridge when checking for _OSC support for a capability. It quits as soon as it finds a device/bridge that doesn't support the requested capability. This won't work for systems that have mixed PCI and PCIe bridges when checking for PCIe features. I split this function into two -- pci_osc_support_set() and pcie_osc_support_set(). The latter is used when only PCIe devices should be traversed. Signed-off-by: Andrew Patterson Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed