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>
Showing
- drivers/net/sfc/mdio_10g.c 5 additions, 27 deletionsdrivers/net/sfc/mdio_10g.c
- drivers/net/sfc/mdio_10g.h 1 addition, 2 deletionsdrivers/net/sfc/mdio_10g.h
- drivers/net/sfc/tenxpress.c 1 addition, 1 deletiondrivers/net/sfc/tenxpress.c
- drivers/net/sfc/txc43128_phy.c 1 addition, 1 deletiondrivers/net/sfc/txc43128_phy.c
Loading
Please register or sign in to comment