sfc: Do not read STAT1.FAULT in efx_mdio_check_mmd()
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 24 Feb 2011 23:59:15 +0000 (23:59 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Mon, 28 Feb 2011 23:57:23 +0000 (23:57 +0000)
commita461103ba2e22cbb70771588b36f40df39a50f46
tree526fe1532d3c69d9b322a458b8b26341058c6aa3
parente5f0fd278084d79d6be0920043519749374b0507
sfc: Do not read STAT1.FAULT in efx_mdio_check_mmd()

This field does not exist in all MMDs we want to check, and all
callers allow it to be set (fault_fatal = 0).

Remove the loopback condition, as STAT2.DEVPRST should be valid
regardless of any fault.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/sfc/mdio_10g.c
drivers/net/sfc/mdio_10g.h
drivers/net/sfc/tenxpress.c
drivers/net/sfc/txc43128_phy.c