diff options
author | Kristen Carlson Accardi <kristen.c.accardi@intel.com> | 2007-08-09 19:09:32 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 18:03:14 -0400 |
commit | 57d90c027641169b0724f94d355704e28895bcd6 (patch) | |
tree | 77d0f1bab7fec9d9a5bce305f51b0ac5b7ccc7e9 /drivers/pci/hotplug/pciehp_hpc.c | |
parent | 1cf53d5ddb93b77ce1e277da85fe695e4c2a667d (diff) |
PCI Hotplug: pciehp: Request control over PCI Express Capability as well as Native hotplug
According to the PCI firmware spec (3.0), the OS must claim control
over the PCI Express Capability bits in addition to the PCI Express
Native Hot Plug feature when executing _OSC.
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/pciehp_hpc.c')
-rw-r--r-- | drivers/pci/hotplug/pciehp_hpc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.c index 016eea94a8a5..dbd04660babb 100644 --- a/drivers/pci/hotplug/pciehp_hpc.c +++ b/drivers/pci/hotplug/pciehp_hpc.c | |||
@@ -1138,6 +1138,7 @@ int pciehp_acpi_get_hp_hw_control_from_firmware(struct pci_dev *dev) | |||
1138 | dbg("Trying to get hotplug control for %s \n", | 1138 | dbg("Trying to get hotplug control for %s \n", |
1139 | (char *)string.pointer); | 1139 | (char *)string.pointer); |
1140 | status = pci_osc_control_set(handle, | 1140 | status = pci_osc_control_set(handle, |
1141 | OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL | | ||
1141 | OSC_PCI_EXPRESS_NATIVE_HP_CONTROL); | 1142 | OSC_PCI_EXPRESS_NATIVE_HP_CONTROL); |
1142 | if (status == AE_NOT_FOUND) | 1143 | if (status == AE_NOT_FOUND) |
1143 | status = acpi_run_oshp(handle); | 1144 | status = acpi_run_oshp(handle); |