commit | 771046d7b1def64c00a5a47ca48526cbbacd7fe3 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Wed Aug 26 08:16:58 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 26 17:38:53 2009 -0700 |
tree | 84c534da35aaf759c9186157b54386daa36f21ba | |
parent | d4ec09acdb15cdb5afdb5cd03f6bceb5c3c690a5 [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>