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:05:44 +0000 (22:05 -0800)
commit56c07e9501e875883584c00fe6977c3addb1f873
treed4aad7a8ca5ca13a957141dc0781d046b3c9da4b
parent15883a43af0bcd10b3f3173bca4a0e60518bc154
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