diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-01-13 11:59:13 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-14 02:12:47 +0100 |
commit | f3766c26a5d00189e5c0965c66f01956d15a92d6 (patch) | |
tree | 2cab8ee42ef7479d41f660ba5f1fcfd4d8706f08 /drivers/net/tg3.c | |
parent | sfc: Fix polling for slow MCDI operations (diff) | |
download | linux-f3766c26a5d00189e5c0965c66f01956d15a92d6.tar.xz linux-f3766c26a5d00189e5c0965c66f01956d15a92d6.zip |
sfc: Fix conditions for MDIO self-test
The MDIO self-test should not be run on boards without an MDIO PHY,
such as SFN5122F-R3 and later revisions. It should also not try to
address a specific MMD in an MDIO clause 22 PHY. Check the
mode_support field to decide which mode to use, if any.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.c')
0 files changed, 0 insertions, 0 deletions