alx: separate link speed/duplex fields
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 29 Jun 2013 17:23:17 +0000 (19:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jul 2013 20:18:19 +0000 (13:18 -0700)
commita5b87cc9e0538bf6680d431e0076d778e5bae38e
treeabda29f1ca08441d2d81cb21bc8fb655064cd8b4
parent4a134c39db2d9d6f31c55e7c3773fc33189c9320
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>
drivers/net/ethernet/atheros/alx/ethtool.c
drivers/net/ethernet/atheros/alx/hw.c
drivers/net/ethernet/atheros/alx/hw.h
drivers/net/ethernet/atheros/alx/main.c