OSDN Git Service

net: sun: cassini: use new api ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 4 Mar 2017 15:16:12 +0000 (16:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Mar 2017 06:18:05 +0000 (22:18 -0800)
commit2c784b0087d8b03b97bfcdbad8b162539dc614c6
tree2e2882e25189f828db78ac2e58ecd25906f65535
parentc4df19a66617a4818769468975019c736a84e0c9
net: sun: cassini: 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/cassini.c