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

2017-01-15 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 <trem...@gmail.com> --- drivers/net/ethernet/jme.c

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

2017-01-14 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 <trem...@gmail.com> --- drivers/net/ethernet/marvell/sky2.c | 68 -- 1 files changed, 40 insertions(+), 28 del

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

2017-01-14 Thread Philippe Reynes
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.

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

2017-01-14 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 <trem...@gmail.com> --- drivers/net/ethernet/korina.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drive

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

2017-01-07 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 <trem...@gmail.com> --- drivers/net/ethernet/intel/e100.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drive

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

2017-01-07 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 <trem...@gmail.com> --- drivers/net/ethernet/ibm/ibmvnic.c | 31 ++- 1 files changed, 18 insertions(+), 13 deletions(-)

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

2017-01-07 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 <trem...@gmail.com> --- drivers/net/ethernet/ibm/ibmveth.c | 30 ++ 1 files changed, 18 insertions(+), 12 deletions(-)

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

2017-01-07 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 <trem...@gmail.com> --- drivers/net/ethernet/ibm/emac/core.c | 70 +++-- 1 files changed, 40 insertions(+), 30 del

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

2017-01-07 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 <trem...@gmail.com> --- drivers/net/ethernet/ibm/ehea/ehea_ethtool.c | 51 +++--- 1 files changed, 30 insertions(+), 21 del

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

2017-01-02 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 <trem...@gmail.com> --- drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-)

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

2017-01-02 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 <trem...@gmail.com> --- drivers/net/ethernet/fealnx.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drive

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

2017-01-02 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 <trem...@gmail.com> --- drivers/net/ethernet/faraday/ftmac100.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/d

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

2017-01-02 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 <trem...@gmail.com> --- drivers/net/ethernet/emulex/benet/be_ethtool.c | 73 +++- 1 files changed, 34 insertions(+), 39 del

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

2017-01-01 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 <trem...@gmail.com> --- drivers/net/ethernet/dlink/sundance.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/d

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

2017-01-01 Thread Philippe Reynes
. 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

[PATCH] net: dec: winbond-840: use new api ethtool_{get|set}_link_ksettings

2017-01-01 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 <trem...@gmail.com> --- drivers/net/ethernet/dec/tulip/winbond-840.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff

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

2017-01-01 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 <trem...@gmail.com> --- drivers/net/ethernet/dec/tulip/uli526x.c | 41 + 1 files changed, 24 insertions(+), 17 del

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

2017-01-01 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 <trem...@gmail.com> --- drivers/net/ethernet/dec/tulip/de2104x.c | 91 +- 1 files changed, 51 insertions(+), 40 del

[PATCH v2 2/2] net: sfc: falcon: use new api ethtool_{get|set}_link_ksettings

2017-01-01 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 <trem...@gmail.com> --- Changelog: v2: - simplify the code of ef4_ethtool_get_link_ksettings (feedback from Bert Kenward) drivers/net/ethernet/sfc/

[PATCH v2 1/2] net: mdio: add mdio45_ethtool_ksettings_get

2017-01-01 Thread Philippe Reynes
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

[PATCH 2/2] net: sfc: falcon: use new api ethtool_{get|set}_link_ksettings

2016-12-20 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 <trem...@gmail.com> --- drivers/net/ethernet/sfc/falcon/efx.c |2 +- drivers/net/ethernet/sfc/falcon/ethtool.c

[PATCH 1/2] net: mdio: add mdio45_ethtool_ksettings_get

2016-12-20 Thread Philippe Reynes
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

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

2016-12-15 Thread Philippe Reynes
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

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

2016-12-14 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 <trem...@gmail.com> --- drivers/net/ethernet/sfc/ethtool.c| 35 --- drivers/net/ethernet/sfc/mcdi_port.c

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

2016-12-14 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 <trem...@gmail.com> --- drivers/net/ethernet/davicom/dm9000.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/d

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

2016-12-12 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 <trem...@gmail.com> --- drivers/net/ethernet/cirrus/ep93xx_eth.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/d

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

2016-12-11 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 <trem...@gmail.com> --- drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 65 +-- 1 files changed, 37 insertions(+), 28 del

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

2016-12-11 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 <trem...@gmail.com> --- drivers/net/ethernet/chelsio/cxgb/cxgb2.c | 64 + 1 files changed, 37 insertions(+), 27 del

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

2016-12-10 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 <trem...@gmail.com> --- .../net/ethernet/cavium/thunder/nicvf_ethtool.c| 56 +++- 1 files changed, 31 insertions(+), 25 del

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

2016-12-04 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 <trem...@gmail.com> --- drivers/net/ethernet/calxeda/xgmac.c | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/d

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

2016-11-28 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 <trem...@gmail.com> --- drivers/net/ethernet/brocade/bna/bnad_ethtool.c | 54 +-- 1 files changed, 30 insertions(+), 24 del

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

2016-11-13 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 <trem...@gmail.com> --- drivers/net/ethernet/broadcom/bnx2.c | 74 +++--- 1 files changed, 41 insertions(+), 33 del

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

2016-11-13 Thread Philippe Reynes
-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

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

2016-11-13 Thread Philippe Reynes
-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

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

2016-11-12 Thread Philippe Reynes
-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

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

2016-11-12 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 <trem...@gmail.com> --- drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c | 54 +++- 1 files changed, 30 insertions(+), 24 del

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

2016-11-11 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 <trem...@gmail.com> --- drivers/net/ethernet/atheros/alx/ethtool.c | 59 --- 1 files changed, 35 insertions(+), 24 del

[PATCH v2] net: 3com: typhoon: fix typhoon_get_link_ksettings

2016-11-06 Thread Philippe Reynes
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 |

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

2016-11-06 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 <trem...@gmail.com> --- drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 68 ++ 1 files changed, 37 insertions(+), 31 del

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

2016-11-05 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 <trem...@gmail.com> --- drivers/net/ethernet/amd/pcnet32.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drive

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

2016-11-05 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 <trem...@gmail.com> --- drivers/net/ethernet/amd/amd8111e.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drive

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

2016-11-05 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 <trem...@gmail.com> --- drivers/net/ethernet/alteon/acenic.c | 65 ++--- 1 files changed, 35 insertions(+), 30 del

[PATCH] net: 3com: typhoon: fix typhoon_get_link_ksettings

2016-11-05 Thread Philippe Reynes
. 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

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

2016-11-05 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 <trem...@gmail.com> --- drivers/net/ethernet/adaptec/starfire.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/d

[PATCH] net: 3com: typhoon: use new api ethtool_{get|set}_link_ksettings

2016-11-01 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 <trem...@gmail.com> --- drivers/net/ethernet/3com/typhoon.c | 60 +- 1 files changed, 30 insertions(+), 30 del

[PATCH 3/3] net: 3c509: use new api ethtool_{get|set}_link_ksettings

2016-11-01 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 <trem...@gmail.com> --- drivers/net/ethernet/3com/3c509.c | 55 +++- 1 files changed, 29 insertions(+), 26 del

[PATCH 1/3] net: mii: add generic function to support ksetting support

2016-11-01 Thread Philippe Reynes
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

[PATCH 2/3] net: 3c59x: use new api ethtool_{get|set}_link_ksettings

2016-11-01 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 <trem...@gmail.com> --- drivers/net/ethernet/3com/3c59x.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drive

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

2016-10-26 Thread Philippe Reynes
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. > >

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

2016-10-25 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 <trem...@gmail.com> --- drivers/net/bonding/bond_main.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drive

[PATCH] infiniband: nes: nes_nic: use new api ethtool_{get|set}_link_ksettings

2016-10-25 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 <trem...@gmail.com> --- drivers/infiniband/hw/nes/nes_nic.c | 76 +++--- 1 files changed, 42 insertions(+), 34 del

[PATCH] net: dsa: slave: 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 <trem...@gmail.com> --- net/dsa/slave.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/net/dsa/slave.c b/n

[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 <trem...@gmail.com> --- drivers/staging/netlogic/xlr_net.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/d

[PATCH] net: usb: lan78xx: 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 <trem...@gmail.com> --- drivers/net/usb/lan78xx.c | 70 +--- 1 files changed, 40 insertions(+), 30 del

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

2016-10-08 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 <trem...@gmail.com> --- drivers/net/ethernet/ti/netcp_ethss.c | 42 +++- 1 files changed, 25 insertions(+), 17 del

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

2016-10-08 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 <trem...@gmail.com> --- drivers/net/ethernet/ti/cpsw.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/drive

[PATCH v2 1/2] net: stmmac: use phydev from struct net_device

2016-10-03 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 <trem...@gmail.

[PATCH v2 2/2] net: stmmac: use new api ethtool_{get|set}_link_ksettings

2016-10-03 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 <trem...@gmail.com> --- Changelog: v2: - no change on this patch .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 97 +++ 1

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

2016-10-02 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 <trem...@gmail.

[PATCH 2/2] net: stmmac: use new api ethtool_{get|set}_link_ksettings

2016-10-02 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 <trem...@gmail.com> --- .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 97 +++ 1 files changed, 56 insertions(+), 41 del

[PATCH 2/2] net: mv643xx_eth: use new api ethtool_{get|set}_link_ksettings

2016-10-02 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 <trem...@gmail.com> --- drivers/net/ethernet/marvell/mv643xx_eth.c | 84 +-- 1 files changed, 53 insertions(+), 31 del

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

2016-10-02 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 <trem...@gmail.

[PATCH v3 net-next 2/3] Revert "net: ethernet: bcmgenet: use phydev from struct net_device"

2016-09-26 Thread Philippe Reynes
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

[PATCH v3 net-next 1/3] Revert "net: ethernet: bcmgenet: use new api ethtool_{get|set}_link_ksettings"

2016-09-26 Thread Philippe Reynes
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

[PATCH v3 net-next 3/3] net: bcmgenet: use new api ethtool_{get|set}_link_ksettings

2016-09-26 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 <trem...@gmail.com> --- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff

[PATCH v3 net-next 0/3] net: bcmgenet: only use new api ethtool_{get|set}_link_ksettings

2016-09-26 Thread Philippe Reynes
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

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

2016-09-25 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 <trem...@gmail.com> --- drivers/net/ethernet/broadcom/tg3.c | 112 +++ 1 files changed, 62 insertions(+), 50 del

[PATCH v2 net-next 2/3] Revert "net: ethernet: bcmgenet: use phydev from struct net_device"

2016-09-25 Thread Philippe Reynes
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

[PATCH v2 net-next 1/3] Revert "net: ethernet: bcmgenet: use new api ethtool_{get|set}_link_ksettings"

2016-09-25 Thread Philippe Reynes
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

[PATCH v2 net-next 3/3] net: bcmgenet: use new api ethtool_{get|set}_link_ksettings

2016-09-25 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 <trem...@gmail.com> --- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 24 ++-- 1 files changed, 10 insertions(+), 14 del

[PATCH v2 net-next 0/3] net: bcmgenet: only use new api ethtool_{get|set}_link_ksettings

2016-09-25 Thread Philippe Reynes
: 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 --

[PATCH 1/3] Revert "net: ethernet: bcmgenet: use new api ethtool_{get|set}_link_ksettings"

2016-09-25 Thread Philippe Reynes
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

[PATCH 2/3] Revert "net: ethernet: bcmgenet: use phydev from struct net_device"

2016-09-25 Thread Philippe Reynes
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

[PATCH 0/3] ethernet: net: bcmgenet: only use new api ethtool_{get|set}_link_ksettings

2016-09-25 Thread Philippe Reynes
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_

[PATCH 3/3] net: ethernet: broadcom: bcmgenet: use new api ethtool_{get|set}_link_ksettings

2016-09-25 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 <trem...@gmail.com> --- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 24 ++-- 1 files changed, 10 insertions(+), 14 del

[PATCH 2/2] net: ethernet: hisilicon: hns: use new api ethtool_{get|set}_link_ksettings

2016-09-20 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 <trem...@gmail.com> --- drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 105 -- 1 files changed, 58 insertions(+), 47 del

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

2016-09-20 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 <trem...@gmail.

[PATCH] net: ethernet: broadcom: bcmgenet: use new api ethtool_{get|set}_link_ksettings

2016-09-18 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 <trem...@gmail.com> --- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff

[PATCH 2/2] net: ethernet: broadcom: bcm63xx: use new api ethtool_{get|set}_link_ksettings

2016-09-18 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 <trem...@gmail.com> --- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 52 ++ 1 files changed, 28 insertions(+), 24 del

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

2016-09-18 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 <trem...@gmail.

[PATCH 2/2] net: ethernet: broadcom: b44: use new api ethtool_{get|set}_link_ksettings

2016-09-17 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 <trem...@gmail.com> --- drivers/net/ethernet/broadcom/b44.c | 98 +++ 1 files changed, 54 insertions(+), 44 del

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

2016-09-17 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 <trem...@gmail.

[PATCH 2/2] net: ethernet: apm: xgene: use new api ethtool_{get|set}_link_ksettings

2016-09-11 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 <trem...@gmail.com> --- .../net/ethernet/apm/xgene/xgene_enet_ethtool.c| 61 1 files changed, 37 insertions(+), 24 del

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

2016-09-11 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 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.

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

2016-08-19 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 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.

[PATCH 2/2] net: ethernet: renesas: ravb: use new api ethtool_{get|set}_link_ksettings

2016-08-19 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 <trem...@gmail.com> --- drivers/net/ethernet/renesas/ravb_main.c | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) diff

[PATCH 2/2] net: ethernet: renesas: sh_eth: use new api ethtool_{get|set}_link_ksettings

2016-08-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 <trem...@gmail.com> --- drivers/net/ethernet/renesas/sh_eth.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff

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

2016-08-09 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 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.

[PATCH 2/2] net: ethernet: marvell: mvneta: use new api ethtool_{get|set}_link_ksettings

2016-07-30 Thread Philippe Reynes
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

[PATCH 1/2] net: ethernet: marvell: mvneta: 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 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.

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

2016-07-30 Thread Philippe Reynes
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

[PATCH 1/2] net: ethernet: greth: 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 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.

[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 <trem...@gmail.

[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 <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

Re: [PATCH 1/2] net: ethernet: marvell: pxa168_eth: use phydev from struct net_device

2016-07-18 Thread Philippe Reynes
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

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

2016-07-17 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 <trem...@gmail.

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

2016-07-17 Thread Philippe Reynes
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

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

2016-07-16 Thread Philippe Reynes
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

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

2016-07-16 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 <trem...@gmail.

[PATCH] net: usb: ax88172x: use phy_ethtool_{get|set}_link_ksettings

2016-07-15 Thread Philippe Reynes
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(

<    1   2   3   >