net: sun: niu: use new api ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 4 Mar 2017 16:50:06 +0000 (17:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Mar 2017 06:18:05 +0000 (22:18 -0800)
commitd972253146867b65ecff0bcc0e551a970b3efa1b
tree0cc4ec888c629015073c8f3b84a64533dfd1925c
parent2c784b0087d8b03b97bfcdbad8b162539dc614c6
net: sun: niu: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/niu.c