]> git.baikalelectronics.ru Git - kernel.git/commit
alx: fix ethtool support code
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 29 Jun 2013 17:23:19 +0000 (19:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jul 2013 20:18:19 +0000 (13:18 -0700)
commite58829a309b87a93ddfc3c2fcc741be8749a228a
treebc9c368f432204329568786aa0ef2b4c3a1126f0
parent3abb80cce202c60593721a300be3442aa3d20829
alx: fix ethtool support code

A number of places treated features wrongly, listing not-supported
features instead of supported ones. Also, the get_drvinfo ethtool
callback isn't needed, and alx_get_pauseparam can be simplified.

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