summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2011-01-25 15:58:52 +0000
committerDavid S. Miller <davem@davemloft.net>2011-01-25 19:38:18 -0800
commit49692ca1e686970bac5726c3fd925427bb3ae89d (patch)
tree369ecfec808cd59aae198ada75837f5c0baea1af /drivers/net/tg3.h
parentf746a3136a61ae535c5d0b49a9418fa21edc61b5 (diff)
downloadop-kernel-dev-49692ca1e686970bac5726c3fd925427bb3ae89d.zip
op-kernel-dev-49692ca1e686970bac5726c3fd925427bb3ae89d.tar.gz
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>
Diffstat (limited to 'drivers/net/tg3.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud