sfc: Use a single blink implementation
Only some PHYs have firmware support for a LED blink mode, so we currently blink the others in a timer function. Since all PHYs have simple on and off modes, we don't gain anything by using multiple blink implementations. Also, since we have a process context there is no need to use a timer. Signed-off-by:Ben Hutchings <bhutchings@solarflare.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/sfc/efx.c 4 additions, 3 deletionsdrivers/net/sfc/efx.c
- drivers/net/sfc/efx.h 2 additions, 1 deletiondrivers/net/sfc/efx.h
- drivers/net/sfc/ethtool.c 9 additions, 7 deletionsdrivers/net/sfc/ethtool.c
- drivers/net/sfc/falcon_boards.c 22 additions, 44 deletionsdrivers/net/sfc/falcon_boards.c
- drivers/net/sfc/net_driver.h 8 additions, 10 deletionsdrivers/net/sfc/net_driver.h
- drivers/net/sfc/phy.h 1 addition, 1 deletiondrivers/net/sfc/phy.h
- drivers/net/sfc/qt202x_phy.c 0 additions, 3 deletionsdrivers/net/sfc/qt202x_phy.c
- drivers/net/sfc/tenxpress.c 16 additions, 8 deletionsdrivers/net/sfc/tenxpress.c
Loading
Please register or sign in to comment