]> git.baikalelectronics.ru Git - kernel.git/commit
net: aquantia: atlantic: use new api ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Mon, 30 Jan 2017 22:04:42 +0000 (23:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Jan 2017 18:10:45 +0000 (13:10 -0500)
commite2dcbc4fa91cfc015b81f2113b7af29bcb8fd957
treeafcd30800e83aba917466b3ef4e350f33aa1caf3
parent2d3757d14b2c3a2e179d9ca8f715cc7cd2c3118d
net: aquantia: atlantic: 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.

As I don't have the hardware, I'd be very pleased if
someone may test this patch.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Tested-by: Pavel Belous <pavel.s.belous@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
drivers/net/ethernet/aquantia/atlantic/aq_nic.h