[PATCH] net: hyperv: use new api ethtool_{get|set}_link_ksettings

2017-03-08 Thread Philippe Reynes
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 --- drivers/net/hyperv/netvsc_dr

[PATCH] staging: net: netlogic: use new api ethtool_{get|set}_link_ksettings

2016-10-09 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/staging/netlogic/xlr_net.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/staging/netlogic

[PATCH 1/2] net: ethernet: octeon: use phydev from struct net_device

2016-07-30 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phydev in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes --- drivers/staging

[PATCH 2/2] net: ethernet: octeon: use phy_ethtool_{get|set}_link_ksettings

2016-07-30 Thread Philippe Reynes
function. Signed-off-by: Philippe Reynes --- drivers/staging/octeon/ethernet-mdio.c | 23 ++- 1 files changed, 2 insertions(+), 21 deletions(-) diff --git a/drivers/staging/octeon/ethernet-mdio.c b/drivers/staging/octeon/ethernet-mdio.c index 661b97b..1fde9c8 100644 --- a

[PATCH 2/2] net: ethernet: octeon: use phy_ethtool_{get|set}_link_ksettings

2016-07-15 Thread Philippe Reynes
function. Signed-off-by: Philippe Reynes --- drivers/staging/octeon/ethernet-mdio.c | 23 ++- 1 files changed, 2 insertions(+), 21 deletions(-) diff --git a/drivers/staging/octeon/ethernet-mdio.c b/drivers/staging/octeon/ethernet-mdio.c index 661b97b..1fde9c8 100644 --- a

[PATCH 1/2] net: ethernet: octeon: use phydev from struct net_device

2016-07-15 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phydev in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes --- drivers/staging