diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-01-25 16:58:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-26 04:38:18 +0100 |
commit | 49692ca1e686970bac5726c3fd925427bb3ae89d (patch) | |
tree | 369ecfec808cd59aae198ada75837f5c0baea1af /firmware/keyspan | |
parent | tg3: Restrict phy ioctl access (diff) | |
download | linux-49692ca1e686970bac5726c3fd925427bb3ae89d.tar.xz linux-49692ca1e686970bac5726c3fd925427bb3ae89d.zip |
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 'firmware/keyspan')
0 files changed, 0 insertions, 0 deletions