]> git.karo-electronics.de Git - linux-beck.git/commit
net: atheros: atl1e: use new api ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 12 Nov 2016 22:16:51 +0000 (23:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Nov 2016 18:53:01 +0000 (13:53 -0500)
commit63fb571ee50320191a3cc2c4634c9c9f918a2c44
tree2272593c07347d74dcd552fa98f6da7628c0f1e0
parentb993eec0e1ec4ad1c9d04362afd4fd83261052c9
net: atheros: atl1e: use new api ethtool_{get|set}_link_ksettings

The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.

The previous implementation of set_settings was modifying
the value of advertising, but with the new API, it's not
possible. The structure ethtool_link_ksettings is defined
as const.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c