net: broadcom: bnx2x: use new api ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 21 Jan 2017 13:43:16 +0000 (14:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2017 18:49:19 +0000 (13:49 -0500)
commit8b86b2c1b83e3a3a9ac5192b4e9d4ee23d88b218
tree5f4ef3da11a8536bde5183f6f1b0529e5628fd94
parent36f877804c2471226b6c5cd72232c707e0e4c497
net: broadcom: bnx2x: 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>
Acked-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c