projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c277835
)
PCI ACPI: AER driver should only register PCIe devices with _OSC
author
Andrew Patterson
<andrew.patterson@hp.com>
Wed, 23 Jan 2008 00:18:17 +0000
(17:18 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 1 Feb 2008 23:04:30 +0000
(15:04 -0800)
AER is only used with PCIe devices so we should only check PCIe devices for
_OSC support.
Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pcie/aer/aerdrv_acpi.c
patch
|
blob
|
history
diff --git
a/drivers/pci/pcie/aer/aerdrv_acpi.c
b/drivers/pci/pcie/aer/aerdrv_acpi.c
index 1a1eb45a779e3862f8ef634cd425d4f117444661..f685bf5cdab9d8252d58e3b1277cab741c8bcc9c 100644
(file)
--- a/
drivers/pci/pcie/aer/aerdrv_acpi.c
+++ b/
drivers/pci/pcie/aer/aerdrv_acpi.c
@@
-50,7
+50,7
@@
int aer_osc_setup(struct pcie_device *pciedev)
}
if (handle) {
- pci_osc_support_set(OSC_EXT_PCI_CONFIG_SUPPORT);
+ pci
e
_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);