diff options
author | Andrew Patterson <andrew.patterson@hp.com> | 2008-01-22 17:18:12 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-01 15:04:29 -0800 |
commit | c2778357234f84668eab5558b54ad28478439d0b (patch) | |
tree | 9820e6cfa1bfe6989854425b0d63840c949fa3f2 /drivers/pci/pci-sysfs.c | |
parent | 02d90fc343411d6dff26bbd64f0895a243e6f608 (diff) |
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 <andrew.patterson@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/pci-sysfs.c')
0 files changed, 0 insertions, 0 deletions