tg3: Fix ethtool loopback test for 5761 BX devices
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 2 May 2008 23:48:59 +0000 (16:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2008 23:48:59 +0000 (16:48 -0700)
commit109115e1991824b88306b374b763d6857b292aeb
tree2ecbe856fd030ffb6b9a34fca80924bdfddb3713
parentfd1122a2593d0bbe19856e3943c859ebfe563583
tg3: Fix ethtool loopback test for 5761 BX devices

A CPMU related loopback test bug existed for AX revisions of the 5761.
While that errata has been fixed, the CPMU still slows down the core
clock too far to run the loopback test successfully.  This patch
disables the CPMU LINK_SPEED mode just like we do with the AX
revisions of the 5761 and all revisions of the 5784.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c