[PATCH v3 net-next] net: phy: realtek: read actual speed on rtl8211f to detect downshift

2020-11-24 Thread Antonio Borneo
actual speed to detect downshift") is working fine also for this phy and it's trivial re-using it to restore the downshift detection on rtl8211f. Add the phy specific read_status() pointing to the existing function rtlgen_read_status(). Signed-off-by: Antonio Borneo Link: https://lore.kernel

[PATCH] net: stmmac: fix incorrect merge of patch upstream

2020-11-24 Thread Antonio Borneo
ps. Fixes: 757926247836 ("net: stmmac: add flexible PPS to dwmac 4.10a") Cc: sta...@vger.kernel.org # v5.6+ Signed-off-by: Antonio Borneo Reported-by: Ahmad Fatoum --- To: Alexandre Torgue To: Jose Abreu To: "David S. Miller" To: Jakub Kicinski Cc: Maxime Coquelin Cc: netdev@vger.ke

Re: [PATCH v2] net: phy: realtek: read actual speed on rtl8211f to detect downshift

2020-11-24 Thread Antonio Borneo
On Tue, 2020-11-24 at 23:22 +0100, Heiner Kallweit wrote: > Am 24.11.2020 um 22:59 schrieb Antonio Borneo: > > The rtl8211f supports downshift and before commit 5502b218e001 > > ("net: phy: use phy_resolve_aneg_linkmode in genphy_read_status") > > the read-back of re

[PATCH v2] net: phy: realtek: read actual speed on rtl8211f to detect downshift

2020-11-24 Thread Antonio Borneo
actual speed to detect downshift") is working fine also for this phy and it's trivial re-using it to restore the downshift detection on rtl8211f. Add the phy specific read_status() pointing to the existing function rtlgen_read_status(). Signed-off-by: Antonio Borneo Link: https://lore.kernel

Re: [PATCH] net: stmmac: add flexible PPS to dwmac 4.10a

2020-11-24 Thread Antonio Borneo
On Tue, 2020-11-24 at 10:20 -0800, Jakub Kicinski wrote: > On Tue, 24 Nov 2020 15:23:27 +0100 Antonio Borneo wrote: > > On Tue, 2020-11-24 at 15:15 +0100, Ahmad Fatoum wrote: > > > On 10.10.19 00:26, Jakub Kicinski wrote: > > > > On Mon, 7 Oct 2019 17:43:

Re: [PATCH] net: phy: fix auto-negotiation in case of 'down-shift'

2020-11-24 Thread Antonio Borneo
On Tue, 2020-11-24 at 15:37 +, Russell King - ARM Linux admin wrote: > On Tue, Nov 24, 2020 at 04:17:42PM +0100, Antonio Borneo wrote: > > On Tue, 2020-11-24 at 14:56 +, Russell King - ARM Linux admin wrote: > > > Userspace doesn't expect the advertising ma

Re: [PATCH] net: phy: fix auto-negotiation in case of 'down-shift'

2020-11-24 Thread Antonio Borneo
On Tue, 2020-11-24 at 15:17 +, Russell King - ARM Linux admin wrote: > On Tue, Nov 24, 2020 at 04:03:40PM +0100, Heiner Kallweit wrote: > > Am 24.11.2020 um 15:38 schrieb Antonio Borneo: > > > If the auto-negotiation fails to establish a gigabit link, the phy > > >

Re: [PATCH] net: phy: fix auto-negotiation in case of 'down-shift'

2020-11-24 Thread Antonio Borneo
On Tue, 2020-11-24 at 14:56 +, Russell King - ARM Linux admin wrote: > On Tue, Nov 24, 2020 at 03:38:48PM +0100, Antonio Borneo wrote: > > If the auto-negotiation fails to establish a gigabit link, the phy > > can try to 'down-shift': it resets the bits in MII_CTRL100

[PATCH] net: phy: fix auto-negotiation in case of 'down-shift'

2020-11-24 Thread Antonio Borneo
se phy_resolve_aneg_linkmode in genphy_read_status") Cc: sta...@vger.kernel.org # v5.1+ Signed-off-by: Antonio Borneo Link: https://lore.kernel.org/r/478f871a-583d-01f1-9cc5-2eea56d8c...@huawei.com --- To: Andrew Lunn To: Heiner Kallweit To: Russell King To: "David S. Miller" To:

Re: [PATCH] net: stmmac: add flexible PPS to dwmac 4.10a

2020-11-24 Thread Antonio Borneo
On Tue, 2020-11-24 at 15:15 +0100, Ahmad Fatoum wrote: > Hello Jakub, > > On 10.10.19 00:26, Jakub Kicinski wrote: > > On Mon, 7 Oct 2019 17:43:06 +0200, Antonio Borneo wrote: > > > All the registers and the functionalities used in the callback > > > dwmac5_fle

[PATCH] iplink_can: fix format output of clock with flag -details

2019-07-26 Thread Antonio Borneo
after the clock value. Signed-off-by: Antonio Borneo --- ip/iplink_can.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ip/iplink_can.c b/ip/iplink_can.c index 5bf490a9..735ab941 100644 --- a/ip/iplink_can.c +++ b/ip/iplink_can.c @@ -545,7 +545,7 @@ static void can_print_

Re: [PATCH] net: via/Kconfig: GENERIC_PCI_IOMAP required if PCI not selected

2015-07-22 Thread Antonio Borneo
On Thu, Jul 23, 2015 at 2:08 AM, David Miller wrote: > From: Antonio Borneo > Date: Thu, 23 Jul 2015 00:34:14 +0800 > >> - depends on (PCI || OF_IRQ) >> + depends on (PCI || (OF_IRQ && GENERIC_PCI_IOMAP)) > > Having GENERIC_PCI_IOMAP withut PCI mak

[PATCH] net: via/Kconfig: GENERIC_PCI_IOMAP required if PCI not selected

2015-07-22 Thread Antonio Borneo
s not selected. Add GENERIC_PCI_IOMAP in the dependency list for VIA_RHINE and VIA_VELOCITY. Reported-by: Paul Gortmaker Signed-off-by: Antonio Borneo --- drivers/net/ethernet/via/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/via/Kconfig b/drivers/net/

Re: via rhine build regression for arch/sh

2015-07-22 Thread Antonio Borneo
uildresult/12468878/ > > It either is the one line change in: > > commit b7d3282a245f44286b88e436b1d08c518cdf4569 > Author: Antonio Borneo > Date: Wed Jun 17 19:42:31 2015 +0800 > > net: via/Kconfig: replace USE_OF with OF_??? > > > ..or maybe it goes back to

Re: [PATCH] net: via: VIA_RHINE and VIA_VELOCITY should depend on HAS_DMA

2015-06-26 Thread Antonio Borneo
On Fri, Jun 26, 2015 at 9:21 PM, Sergei Shtylyov wrote: > Hello. > > On 6/26/2015 3:08 PM, Geert Uytterhoeven wrote: > >> If NO_DMA=y: > > >> ERROR: "dma_sync_single_for_cpu" >> [drivers/net/ethernet/via/via-rhine.ko] undefined! >> ERROR: "dma_set_mask" [drivers/net/ethernet/via/via-rhin

[PATCH 5/6] wireless: cw1200: Remove redundant spi driver bus initialization

2015-06-23 Thread Antonio Borneo
In ancient times it was necessary to manually initialize the bus field of an spi_driver to spi_bus_type. These days this is done in spi_register_driver(), so we can drop the manual assignment. Signed-off-by: Antonio Borneo To: Solomon Peachy To: Kalle Valo To: linux-wirel...@vger.kernel.org To

[PATCH 4/6] net: ieee802154: Remove redundant spi driver bus initialization

2015-06-23 Thread Antonio Borneo
In ancient times it was necessary to manually initialize the bus field of an spi_driver to spi_bus_type. These days this is done in spi_register_driver(), so we can drop the manual assignment. Signed-off-by: Antonio Borneo To: Alan Ott To: Alexander Aring To: Varka Bhadram To: linux-w

[PATCH 0/6] Remove redundant spi driver bus initialization

2015-06-23 Thread Antonio Borneo
ommit message from Lars-Peter; only minor reformat to stay in 75 char/line and fix the name of spi_register_driver(). Regards, Antonio Antonio Borneo (6): ASoC: wm0010: Remove redundant spi driver bus initialization iio: ssp_sensors: Remove redundant spi driver bus initialization st

[PATCH 2/2] net: via/Kconfig: replace USE_OF with OF_???

2015-06-17 Thread Antonio Borneo
USE_OF is used as intermediate Kconfig option by few arch's (ARM, MIPS, Xtensa). Replace instances of USE_OF outside of arch folders with proper OF_???. Signed-off-by: Antonio Borneo --- drivers/net/ethernet/via/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --

[PATCH 1/2] clocksource: Kconfig: replace USE_OF with OF

2015-06-17 Thread Antonio Borneo
USE_OF is used as intermediate Kconfig option by few arch's (ARM, MIPS, Xtensa); in all these cases it implies setting option OF too. Replace the only instance of USE_OF in clocksource with OF. Signed-off-by: Antonio Borneo --- drivers/clocksource/Kconfig | 2 +- 1 file changed, 1 inse

[PATCH 0/2] replace USE_OF in drivers

2015-06-17 Thread Antonio Borneo
s the scope of USE_OF and makes the drivers (actually only the Via network ones) available to other arch's that don't use USE_OF. The two patches of this series can be applied independently and can be taken separately in the respective tree. Antonio Borneo (2): clocksource: Kconfig: repl

[PATCH] net: via-rhine: remove unneeded include file

2015-06-17 Thread Antonio Borneo
Signed-off-by: Antonio Borneo --- drivers/net/ethernet/via/via-rhine.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/via/via-rhine.c b/drivers/net/ethernet/via/via-rhine.c index de28504..a1aaf3a 100644 --- a/drivers/net/ethernet/via/via-rhine.c +++ b/drivers/net