ACPI/PCI: handle multiple _OSC
authorShaohua Li <shaohua.li@intel.com>
Mon, 12 May 2008 02:48:10 +0000 (10:48 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 13 May 2008 16:51:53 +0000 (09:51 -0700)
commita5d1c8798309a384c2776e5ff472f8ceb6d9065d
tree1688166ecd3a3443fe67c7ef1c950f0ac1c48cea
parent4a367f3a9dbf2e7ffcee4702203479809236ee6e
ACPI/PCI: handle multiple _OSC

There is an IA64 system here which have two pci root bridges with _OSC.
One _OSC disables SHPC control bit but the other not. Below patch makes
_OSC data per-device instead of one global, otherwise linux takes both
root bridges don't support SHPC.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-acpi.c