提交 69eb887b 编写于 作者: B Brice Goglin 提交者: Jeff Garzik

[PATCH] myri10ge - drop workaround for the missing AER ext cap on nVidia CK804

We don't need to hardcode the AER capability of the nVidia CK804 chipset
anymore since commit cf34a8e0 (PCI: nVidia
quirk to make AER PCI-E extended capability visible) now makes sure that
this cap will be available to pci_find_ext_capability().
Signed-off-by: NBrice Goglin <brice@myri.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 af57d238
...@@ -2251,12 +2251,6 @@ static void myri10ge_enable_ecrc(struct myri10ge_priv *mgp) ...@@ -2251,12 +2251,6 @@ static void myri10ge_enable_ecrc(struct myri10ge_priv *mgp)
} }
cap = pci_find_ext_capability(bridge, PCI_EXT_CAP_ID_ERR); cap = pci_find_ext_capability(bridge, PCI_EXT_CAP_ID_ERR);
/* nvidia ext cap is not always linked in ext cap chain */
if (!cap
&& bridge->vendor == PCI_VENDOR_ID_NVIDIA
&& bridge->device == PCI_DEVICE_ID_NVIDIA_NFORCE_CK804_PCIE)
cap = 0x160;
if (!cap) if (!cap)
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册