From: Ben Hutchings Date: Wed, 26 Aug 2009 08:16:58 +0000 (+0000) Subject: mdio: Check MDIO_STAT1_FAULT in mdio45_links_ok() X-Git-Tag: v2.6.32-rc1~703^2~284 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=771046d7b1def64c00a5a47ca48526cbbacd7fe3;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed