summaryrefslogtreecommitdiffstats
path: root/firmware/keyspan
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2011-01-25 16:58:52 +0100
committerDavid S. Miller <davem@davemloft.net>2011-01-26 04:38:18 +0100
commit49692ca1e686970bac5726c3fd925427bb3ae89d (patch)
tree369ecfec808cd59aae198ada75837f5c0baea1af /firmware/keyspan
parenttg3: Restrict phy ioctl access (diff)
downloadlinux-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