From: Andrew Patterson Date: Wed, 23 Jan 2008 00:18:27 +0000 (-0700) Subject: PCI: Run ACPI _OSC method on root bridges only X-Git-Tag: v2.6.25-rc1~1074^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c75e23784e6ed5f4841de43d0750fd9b37bafcb;p=pandora-kernel.git PCI: Run ACPI _OSC method on root bridges only According to the PCI Firmware Specification Revision 3.0 section 4.5, _OSC should only be called on a root brdige. Here is the relevant passage: "The _OSC interface defined in this section applies only to Host Bridge ACPI devices that originate PCI, PCI-X, or PCI Express hierarchies". Changed the code to find the parent root bridge of the device and call _OSC on that. Signed-off-by: Andrew Patterson Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed