mdio: Check MDIO_STAT1_FAULT in mdio45_links_ok()
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 26 Aug 2009 08:16:58 +0000 (08:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2009 00:38:53 +0000 (17:38 -0700)
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>

No differences found