]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ea604fb648c364c997387adbbd08062c5cbb9cc
tree5009a20f5242b0399a2eabe4410d932bc1491fff
parente384cb1e7a8d4bba7741f2a806d35222b0d6f2f6
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