提交 d8634ddd 编写于 作者: A Andrew Patterson 提交者: Greg Kroah-Hartman

PCI ACPI: AER driver should only register PCIe devices with _OSC

AER is only used with PCIe devices so we should only check PCIe devices for
_OSC support.
Signed-off-by: NAndrew Patterson <andrew.patterson@hp.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 c2778357
......@@ -50,7 +50,7 @@ int aer_osc_setup(struct pcie_device *pciedev)
}
if (handle) {
pci_osc_support_set(OSC_EXT_PCI_CONFIG_SUPPORT);
pcie_osc_support_set(OSC_EXT_PCI_CONFIG_SUPPORT);
status = pci_osc_control_set(handle,
OSC_PCI_EXPRESS_AER_CONTROL |
OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册