OSDN Git Service

net: hyperv: use new api ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Wed, 8 Mar 2017 22:41:04 +0000 (23:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 02:28:08 +0000 (19:28 -0700)
commit5e8456fdd23c23bbfa06e0d647c90758102a4410
tree414a40102e9305450e0b372348dcbb255453bde5
parent031e51445a065d94639faf1581d0377438a33b96
net: hyperv: 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: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c