Re: [PATCH] net: stmmac: Handle possible fixed-link with need_mdio_ids

2017-08-26 Thread Corentin Labbe
On Fri, Aug 25, 2017 at 09:45:23AM -0700, Florian Fainelli wrote: > On 08/25/2017 09:28 AM, Andrew Lunn wrote: > > On Fri, Aug 25, 2017 at 04:42:08PM +0200, Corentin Labbe wrote: > >> In case of fixed link, there are no mdio node. > >> This patch add a test for fixed-link for bypassing MDIO node re

Re: [PATCH] net: stmmac: Handle possible fixed-link with need_mdio_ids

2017-08-25 Thread Florian Fainelli
On 08/25/2017 09:28 AM, Andrew Lunn wrote: > On Fri, Aug 25, 2017 at 04:42:08PM +0200, Corentin Labbe wrote: >> In case of fixed link, there are no mdio node. >> This patch add a test for fixed-link for bypassing MDIO node register. > > The two are not mutually exclusive. E.g. > vf610-zii-dev.dtsi

Re: [PATCH] net: stmmac: Handle possible fixed-link with need_mdio_ids

2017-08-25 Thread Andrew Lunn
On Fri, Aug 25, 2017 at 04:42:08PM +0200, Corentin Labbe wrote: > In case of fixed link, there are no mdio node. > This patch add a test for fixed-link for bypassing MDIO node register. The two are not mutually exclusive. E.g. vf610-zii-dev.dtsi/vf610-zii-dev-rev-b.dts. It has a fixed-link on the

[PATCH] net: stmmac: Handle possible fixed-link with need_mdio_ids

2017-08-25 Thread Corentin Labbe
In case of fixed link, there are no mdio node. This patch add a test for fixed-link for bypassing MDIO node register. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/s