aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/gianfar_ethtool.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-08-26 08:16:58 +0000
committerDavid S. Miller <davem@davemloft.net>2009-08-26 17:38:53 -0700
commit771046d7b1def64c00a5a47ca48526cbbacd7fe3 (patch)
tree84c534da35aaf759c9186157b54386daa36f21ba /drivers/net/gianfar_ethtool.c
parentd4ec09acdb15cdb5afdb5cd03f6bceb5c3c690a5 (diff)
mdio: Check MDIO_STAT1_FAULT in mdio45_links_ok()
Some PHYs will report that the link is up even though there is a fault condition. Therefore, check the fault flag too. We must also read STAT2 to reset this flag. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gianfar_ethtool.c')
0 files changed, 0 insertions, 0 deletions