alx: separate link speed/duplex fields
As suggested by Ben Hutchings, use separate fields to track current link speed and duplex setting. Reported-by:Ben Hutchings <ben@decadent.org.uk> Signed-off-by:
Johannes Berg <johannes@sipsolutions.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/atheros/alx/ethtool.c 6 additions, 25 deletionsdrivers/net/ethernet/atheros/alx/ethtool.c
- drivers/net/ethernet/atheros/alx/hw.c 60 additions, 79 deletionsdrivers/net/ethernet/atheros/alx/hw.c
- drivers/net/ethernet/atheros/alx/hw.h 20 additions, 4 deletionsdrivers/net/ethernet/atheros/alx/hw.h
- drivers/net/ethernet/atheros/alx/main.c 20 additions, 17 deletionsdrivers/net/ethernet/atheros/alx/main.c
Loading
Please register or sign in to comment