From: Ben Hutchings Date: Wed, 13 Jan 2010 10:59:13 +0000 (+0000) Subject: sfc: Fix conditions for MDIO self-test X-Git-Tag: v2.6.33-rc5~71^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3766c26a5d00189e5c0965c66f01956d15a92d6;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed