PCI: acpi_pcihp: run _OSC on a root bridge
authorJiri Slaby <jirislaby@gmail.com>
Mon, 11 Aug 2008 15:47:40 +0000 (17:47 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 18 Aug 2008 20:47:20 +0000 (13:47 -0700)
commite0d94beead4ef652ec1c066be886140eebb06d8b
tree5009a20f5242b0399a2eabe4410d932bc1491fff
parent89499759dc0dd300528510f465b0bf532fc79a2a
PCI: acpi_pcihp: run _OSC on a root bridge

_OSC should be ran on a root bridge instead of the device itself.  Do
this before touching OSHP since PCI fw specs states that _OSC should be
preferred over OSHP (however if the device has OSHP but not _OSC -- not
a root bridge -- it's not).

Cc: kristen.c.accardi@intel.com
Acked-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/acpi_pcihp.c