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)
commitf8244ab55200dbe074380c3388804adff03a8a19
treeafcd30800e83aba917466b3ef4e350f33aa1caf3
parente9904990e8e70a51574e6ec6b872f3c705ec75f0
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