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 <trem...@gmail.com>
---
drivers/net/ethernet/jme.c
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/marvell/sky2.c | 68 --
1 files changed, 40 insertions(+), 28 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
The callback set_link_ksettings no longer update the value
of advertising, as the struct ethtool_link_ksettings is
defined as const.
Signed-off-by: Philippe Reynes <trem...@gmail.
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/korina.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/drive
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/intel/e100.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/drive
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/ibm/ibmvnic.c | 31 ++-
1 files changed, 18 insertions(+), 13 deletions(-)
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/ibm/ibmveth.c | 30 ++
1 files changed, 18 insertions(+), 12 deletions(-)
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/ibm/emac/core.c | 70 +++--
1 files changed, 40 insertions(+), 30 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/ibm/ehea/ehea_ethtool.c | 51 +++---
1 files changed, 30 insertions(+), 21 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 18 +-
1 files changed, 9 insertions(+), 9 deletions(-)
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/fealnx.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/drive
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/faraday/ftmac100.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/d
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/emulex/benet/be_ethtool.c | 73 +++-
1 files changed, 34 insertions(+), 39 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/dlink/sundance.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/d
.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/dlink/dl2k.c | 71 +---
1 files changed, 41 insertions(+), 30 deletions(-)
diff --git a/drivers/net/ethernet/dlink/dl2k.c
b/drivers/net/ethernet/dlink/dl2k.c
index 8c95a8a..1e35013
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/dec/tulip/winbond-840.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/dec/tulip/uli526x.c | 41 +
1 files changed, 24 insertions(+), 17 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/dec/tulip/de2104x.c | 91 +-
1 files changed, 51 insertions(+), 40 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
Changelog:
v2:
- simplify the code of ef4_ethtool_get_link_ksettings
(feedback from Bert Kenward)
drivers/net/ethernet/sfc/
There is a function in mdio for the old ethtool api gset.
We add a new function mdio45_ethtool_ksettings_get for the
new ethtool api glinksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
Changelog:
v2:
- simplify the code of ef4_ethtool_get_link_ksettings
(feedback fro
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/sfc/falcon/efx.c |2 +-
drivers/net/ethernet/sfc/falcon/ethtool.c
There is a function in mdio for the old ethtool api gset.
We add a new function mdio45_ethtool_ksettings_get for the
new ethtool api glinksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/mdio.c | 178 ++
include
Hi Jarod,
On 12/15/16, Jarod Wilson <ja...@redhat.com> wrote:
> On 2016-12-14 6:12 PM, Philippe Reynes wrote:
>> The ethtool api {get|set}_settings is deprecated.
>> We move this driver to new api {get|set}_link_ksettings.
>>
>> Signed-off-by: P
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/sfc/ethtool.c| 35 ---
drivers/net/ethernet/sfc/mcdi_port.c
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/davicom/dm9000.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/d
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/cirrus/ep93xx_eth.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/d
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 65 +--
1 files changed, 37 insertions(+), 28 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/chelsio/cxgb/cxgb2.c | 64 +
1 files changed, 37 insertions(+), 27 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
.../net/ethernet/cavium/thunder/nicvf_ethtool.c| 56 +++-
1 files changed, 31 insertions(+), 25 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/calxeda/xgmac.c | 17 -
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/d
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/brocade/bna/bnad_ethtool.c | 54 +--
1 files changed, 30 insertions(+), 24 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/broadcom/bnx2.c | 74 +++---
1 files changed, 41 insertions(+), 33 del
-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/atheros/atlx/atl2.c | 66 -
1 files changed, 36 insertions(+), 30 deletions(-)
diff --git a/drivers/net/ethernet/atheros/atlx/atl2.c
b/drivers/net/ethernet/atheros/atlx/atl2.c
index 6
-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/atheros/atlx/atl1.c | 66 -
1 files changed, 36 insertions(+), 30 deletions(-)
diff --git a/drivers/net/ethernet/atheros/atlx/atl1.c
b/drivers/net/ethernet/atheros/atlx/atl1.c
index 9
-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c | 62 +++
1 files changed, 36 insertions(+), 26 deletions(-)
diff --git a/drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c
b/drivers/net/ethernet/atheros/atl1e/atl1e_eth
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c | 54 +++-
1 files changed, 30 insertions(+), 24 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/atheros/alx/ethtool.c | 59 ---
1 files changed, 35 insertions(+), 24 del
initialize advertising to zero, because otherwise it may
be uninitialized if no case of the switch (tp->xcvr_select) is used.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
Changelog:
v2:
- remove a duplicate "commit" in the commit log
drivers/net/ethernet/3com/typhoon.c |
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 68 ++
1 files changed, 37 insertions(+), 31 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/amd/pcnet32.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/drive
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/amd/amd8111e.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/drive
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/alteon/acenic.c | 65 ++---
1 files changed, 35 insertions(+), 30 del
.
We also initialize advertising to zero, because otherwise it may
be uninitialized if no case of the switch (tp->xcvr_select) is used.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/3com/typhoon.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/adaptec/starfire.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/d
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/3com/typhoon.c | 60 +-
1 files changed, 30 insertions(+), 30 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/3com/3c509.c | 55 +++-
1 files changed, 29 insertions(+), 26 del
The old ethtool api (get_setting and set_setting) has generic mii
functions mii_ethtool_sset and mii_ethtool_gset.
To support the new ethtool api ({get|set}_link_ksettings), we add
two generics mii function mii_ethtool_{get|set}_link_ksettings_get.
Signed-off-by: Philippe Reynes <t
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/3com/3c59x.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/drive
Hi Jay,
On Wed, Oct 26, 2016 at 8:00 PM, Jay Vosburgh
<jay.vosbu...@canonical.com> wrote:
> Philippe Reynes <trem...@gmail.com> wrote:
>
>>The ethtool api {get|set}_settings is deprecated.
>>We move this driver to new api {get|set}_link_ksettings.
>
>
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/bonding/bond_main.c | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drive
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/infiniband/hw/nes/nes_nic.c | 76 +++---
1 files changed, 42 insertions(+), 34 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
net/dsa/slave.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/net/dsa/slave.c b/n
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/staging/netlogic/xlr_net.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/d
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/usb/lan78xx.c | 70 +---
1 files changed, 40 insertions(+), 30 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/ti/netcp_ethss.c | 42 +++-
1 files changed, 25 insertions(+), 17 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/ti/cpsw.c | 17 ++---
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/drive
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 <trem...@gmail.
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
Changelog:
v2:
- no change on this patch
.../net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 97 +++
1
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 <trem...@gmail.
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
.../net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 97 +++
1 files changed, 56 insertions(+), 41 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/marvell/mv643xx_eth.c | 84 +--
1 files changed, 53 insertions(+), 31 del
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 <trem...@gmail.
ion/reception to occur
Reported-by: Jaedon Shin <jaedon.s...@gmail.com>
Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 45 +--
drivers/net/ethern
t 6b352ebccbcf ("net: ethernet: broadcom:
bcmgenet: use new api ethtool_{get|set}_link_ksettings") depend
on the first one, we also need to revert it first.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 16
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff
he patch
Florian Fainelli (1):
Revert "net: ethernet: bcmgenet: use phydev from struct net_device"
Philippe Reynes (2):
Revert "net: ethernet: bcmgenet: use new api
ethtool_{get|set}_link_ksettings"
net: bcmgenet: use new api ethtool_{get|set}_link_ksett
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/broadcom/tg3.c | 112 +++
1 files changed, 62 insertions(+), 50 del
ion/reception to occur
Reported-by: Jaedon Shin <jaedon.s...@gmail.com>
Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 45 +--
drivers/net/ethern
t 6b352ebccbcf ("net: ethernet: broadcom:
bcmgenet: use new api ethtool_{get|set}_link_ksettings") depend
on the first one, we also need to revert it first.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 16
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 24 ++--
1 files changed, 10 insertions(+), 14 del
: bcmgenet: use phydev from struct net_device"
Philippe Reynes (2):
Revert "net: ethernet: bcmgenet: use new api
ethtool_{get|set}_link_ksettings"
net: bcmgenet: use new api ethtool_{get|set}_link_ksettings
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 33 --
t 6b352ebccbcf ("net: ethernet: broadcom:
bcmgenet: use new api ethtool_{get|set}_link_ksettings") depend
on the first one, we also need to revert it first.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 16
because of a prior call to phy_disconnect() in
bcmgenet_close(), unfortunately, there has been MAC activity, so the PHY
gets in a bad state
Signed-off-by: Jaedon Shin <jaedon.s...@gmail.com>
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/b
he patch without the "cleaning" of driver to use the phydev
store in the net_device structure.
Jaedon Shin (1):
Revert "net: ethernet: bcmgenet: use phydev from struct net_device"
Philippe Reynes (2):
Revert "net: ethernet: bcmgenet: use new api
ethtool_{get|set}_link_
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 24 ++--
1 files changed, 10 insertions(+), 14 del
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 105 --
1 files changed, 58 insertions(+), 47 del
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 <trem...@gmail.
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/broadcom/bcm63xx_enet.c | 52 ++
1 files changed, 28 insertions(+), 24 del
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 <trem...@gmail.
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/broadcom/b44.c | 98 +++
1 files changed, 54 insertions(+), 44 del
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 <trem...@gmail.
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
.../net/ethernet/apm/xgene/xgene_enet_ethtool.c| 61
1 files changed, 37 insertions(+), 24 del
The private structure contain a pointer to phydev, but the structure
net_device already contain such pointer. So we can remove the pointer
phy_dev in the private structure, and update the driver to use the
one contained in struct net_device.
Signed-off-by: Philippe Reynes <trem...@gmail.
The private structure contain a pointer to phydev, but the structure
net_device already contain such pointer. So we can remove the pointer
phy_dev in the private structure, and update the driver to use the
one contained in struct net_device.
Signed-off-by: Philippe Reynes <trem...@gmail.
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/renesas/ravb_main.c | 16 +---
1 files changed, 9 insertions(+), 7 deletions(-)
diff
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/renesas/sh_eth.c | 18 +-
1 files changed, 9 insertions(+), 9 deletions(-)
diff
The private structure contain a pointer to phydev, but the structure
net_device already contain such pointer. So we can remove the pointer
phy_dev in the private structure, and update the driver to use the
one contained in struct net_device.
Signed-off-by: Philippe Reynes <trem...@gmail.
The ethtool api {get|set}_settings is deprecated.
We move the mvneta driver to new api {get|set}_link_ksettings.
We use the generic function phy_ethtool_get_link_ksettings,
and update old mvneta_ethtool_set_settings to the new api.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
d
The private structure contain a pointer to phydev, but the structure
net_device already contain such pointer. So we can remove the pointer
phy_dev in the private structure, and update the driver to use the
one contained in struct net_device.
Signed-off-by: Philippe Reynes <trem...@gmail.
There are two generics functions phy_ethtool_{get|set}_link_ksettings,
so we can use them instead of defining the same code in the driver.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/aeroflex/greth.c | 23 ++-
1 files changed, 2 inse
The private structure contain a pointer to phydev, but the structure
net_device already contain such pointer. So we can remove the pointer
phy in the private structure, and update the driver to use the
one contained in struct net_device.
Signed-off-by: Philippe Reynes <trem...@gmail.
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 <trem...@gmail.
function.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
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 6
Hi,
On 18/07/16 12:14, Sergei Shtylyov wrote:
Hello.
On 7/18/2016 12:30 AM, Philippe Reynes wrote:
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
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 <trem...@gmail.
There are two generics functions phy_ethtool_{get|set}_link_ksettings,
so we can use them instead of defining the same code in the driver.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/marvell/pxa168_eth.c | 39 +---
1 files chang
the generic function.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/ethernet/adi/bfin_mac.c | 25 ++---
1 files changed, 2 insertions(+), 23 deletions(-)
diff --git a/drivers/net/ethernet/adi/bfin_mac.c
b/drivers/net/ethernet/adi/bfin_mac.c
index 3
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 <trem...@gmail.
There are two generics functions phy_ethtool_{get|set}_link_ksettings,
so we can use them instead of defining the same code in the driver.
Signed-off-by: Philippe Reynes <trem...@gmail.com>
---
drivers/net/usb/ax88172a.c | 22 ++
1 files changed, 2 insertions(
101 - 200 of 297 matches
Mail list logo