[PATCH v3] net: sched: export __netdev_watchdog_up()

2020-06-09 Thread Valentin Longchamp
regression was backported to stable branches, this one should ideally be as well. Fixes: 79dde73cf9bc ("net/ethernet/freescale: rework quiesce/activate for ucc_geth") Cc: Signed-off-by: Valentin Longchamp --- net/sched/sch_generic.c | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v2 1/2] net: sched: export __netdev_watchdog_up()

2020-06-08 Thread Valentin Longchamp
regression was backported to stable branches, this one should ideally be as well. Fixes: 79dde73cf9bc ("net/ethernet/freescale: rework quiesce/activate for ucc_geth") Cc: Signed-off-by: Valentin Longchamp --- net/sched/sch_generic.c | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v2 2/2] net: sched: make the watchdog functions more coherent

2020-06-08 Thread Valentin Longchamp
Remove dev_watchdog_up() that directly called __netdev_watchdog_up() and rename dev_watchdog_down() to __netdev_watchdog_down() for symmetry. Signed-off-by: Valentin Longchamp --- net/sched/sch_generic.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/net/sched

Re: [PATCH] net: sched: make the watchdog functions more coherent

2020-06-04 Thread Valentin Longchamp
Le 05.06.2020 à 00:55, David Miller a écrit : From: Valentin Longchamp Date: Wed, 3 Jun 2020 23:21:13 +0200 Remove dev_watchdog_up() that directly called __netdev_watchdog_up() and rename dev_watchdog_down() to __netdev_watchdog_down() for symmetry. Signed-off-by: Valentin Longchamp

[PATCH] net: ethernet: freescale: remove unneeded include for ucc_geth

2020-06-03 Thread Valentin Longchamp
net/sch_generic.h does not need to be included, remove it. Signed-off-by: Valentin Longchamp --- drivers/net/ethernet/freescale/ucc_geth.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index 552e7554a9f8

[PATCH] net: sched: make the watchdog functions more coherent

2020-06-03 Thread Valentin Longchamp
Remove dev_watchdog_up() that directly called __netdev_watchdog_up() and rename dev_watchdog_down() to __netdev_watchdog_down() for symmetry. Signed-off-by: Valentin Longchamp --- net/sched/sch_generic.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/net/sched

[PATCH] net: sched: export __netdev_watchdog_up()

2020-06-03 Thread Valentin Longchamp
regression was backported to stable branches, this one should ideally be as well. Fixes: 79dde73cf9bc ("net/ethernet/freescale: rework quiesce/activate for ucc_geth") Cc: Signed-off-by: Valentin Longchamp --- net/sched/sch_generic.c | 1 + 1 file changed, 1 insertion(+) diff --git a

Re: [PATCH] net/ethernet/freescale: rework quiesce/activate for ucc_geth

2020-05-25 Thread Valentin Longchamp
Le 23.05.2020 à 00:50, David Miller a écrit : From: Valentin Longchamp Date: Wed, 20 May 2020 17:53:50 +0200 ugeth_quiesce/activate are used to halt the controller when there is a link change that requires to reconfigure the mac. The previous implementation called netif_device_detach(). This

[PATCH] net/ethernet/freescale: rework quiesce/activate for ucc_geth

2020-05-20 Thread Valentin Longchamp
s any tranmission. This allows to perform mac config change required by the link change, without detaching the corresponding netdevice and thus not preventing its initial activation. [1] https://lists.openwall.net/netdev/2020/01/08/201 Signed-off-by: Valentin Longchamp Acked-by: Matteo Gh

[PATCH v2] net/ethernet/freescale: fix warning for ucc_geth

2017-09-14 Thread Valentin Longchamp
uf_info.regs is resource_size_t i.e. phys_addr_t that can be either u32 or u64 according to CONFIG_PHYS_ADDR_T_64BIT. The printk format is thus adaptet to u64 and the regs value cast to u64 to take both u32 and u64 into account. Signed-off-by: Valentin Longchamp --- drivers/net/ethernet

[PATCH] net/ethernet/freescale: fix warning for ucc_geth

2017-09-14 Thread Valentin Longchamp
Simple printk format warning for the the ucc registers address. Signed-off-by: Valentin Longchamp --- drivers/net/ethernet/freescale/ucc_geth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale

[PATCH] net/wan: add MODULE_LICENSE for fsl_ucc_hdlc

2017-02-17 Thread Valentin Longchamp
It is required to build it as a module. Signed-off-by: Valentin Longchamp --- drivers/net/wan/fsl_ucc_hdlc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wan/fsl_ucc_hdlc.c b/drivers/net/wan/fsl_ucc_hdlc.c index e38ce4d..1f38c06 100644 --- a/drivers/net/wan/fsl_ucc_hdlc.c