Ben Hutchings f3766c26a5 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 <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-13 17:12:47 -08:00
..
2009-12-08 13:38:14 +01:00
2009-12-01 16:32:19 -08:00
2009-12-11 11:55:21 -08:00
2009-12-02 01:13:11 -08:00
2010-01-07 00:27:07 -08:00
2010-01-04 14:36:40 -08:00