Skip to content

Commit

Permalink
[PATCH] myri10ge - drop workaround for the missing AER ext cap on nVi…
Browse files Browse the repository at this point in the history
…dia CK804

We don't need to hardcode the AER capability of the nVidia CK804 chipset
anymore since commit cf34a8e (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: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Brice Goglin authored and Jeff Garzik committed Jun 23, 2006
1 parent af57d23 commit 69eb887
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/net/myri10ge/myri10ge.c
Original file line number Diff line number Diff line change
Expand Up @@ -2251,12 +2251,6 @@ static void myri10ge_enable_ecrc(struct myri10ge_priv *mgp)
}

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)
return;

Expand Down

0 comments on commit 69eb887

Please sign in to comment.