Matt Carlson 49692ca1e6 tg3: Fix loopback tests
The half-duplex bit in the MAC MODE register will be set during the
loopback test if the external link is in half-duplex mode.  This will
cause the loopback test to fail on newer devices.  This patch turns the
half-duplex bit off for the test.

Also, newer devices fail the internal phy loopback test because the phy
link takes a little while to come up.  This patch adds code to wait for
the link before proceeding with the test.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-01-25 19:38:18 -08:00
..
2011-01-13 08:03:09 -08:00
2011-01-20 17:02:14 -08:00
2011-01-18 12:22:54 -08:00
2011-01-20 21:37:29 +10:30
2011-01-17 11:15:30 -08:00
2011-01-25 19:38:18 -08:00
2011-01-12 04:59:44 -05:00
2011-01-10 08:51:44 -08:00
2011-01-12 05:14:15 -05:00
2011-01-20 17:02:14 -08:00