]> git.baikalelectronics.ru Git - kernel.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)
commit970c1063b22cea51576d80bb62d974eb40876556
tree2272593c07347d74dcd552fa98f6da7628c0f1e0
parentf9b58b38f00a3d55c47d2811303fd894bc0026e1
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