Re: [PATCH] net: ethernet: cadence: Add fixed-link functionality

2017-02-15 Thread Moritz Fischer
Andrew, On Wed, Feb 15, 2017 at 2:12 PM, Andrew Lunn wrote: >> @@ -3342,8 +3371,18 @@ static int macb_probe(struct platform_device *pdev) >> macb_get_hwaddr(bp); >> >> /* Power up the PHY if there is a GPIO reset */ >> - phy_node = of_get_next_available_child(np, NULL); >

Re: [PATCH] net: ethernet: cadence: Add fixed-link functionality

2017-02-15 Thread Andrew Lunn
> @@ -3342,8 +3371,18 @@ static int macb_probe(struct platform_device *pdev) > macb_get_hwaddr(bp); > > /* Power up the PHY if there is a GPIO reset */ > - phy_node = of_get_next_available_child(np, NULL); > - if (phy_node) { > + phy_node = of_parse_phandle(np, "p

Re: [PATCH] net: ethernet: cadence: Add fixed-link functionality

2017-02-15 Thread Moritz Fischer
Hi Florian, thanks for the quick reply. On Wed, Feb 15, 2017 at 12:57 PM, Florian Fainelli wrote: > On 02/15/2017 12:44 PM, m...@kernel.org wrote: >> From: Moritz Fischer >> >> This allows 'fixed-link' direct MAC connections to be declared >> in devicetree. >> >> Signed-off-by: Moritz Fischer

Re: [PATCH] net: ethernet: cadence: Add fixed-link functionality

2017-02-15 Thread Florian Fainelli
On 02/15/2017 12:44 PM, m...@kernel.org wrote: > From: Moritz Fischer > > This allows 'fixed-link' direct MAC connections to be declared > in devicetree. > > Signed-off-by: Moritz Fischer > Cc: Nicolas Ferre > --- > drivers/net/ethernet/cadence/macb.c | 61 > +

[PATCH] net: ethernet: cadence: Add fixed-link functionality

2017-02-15 Thread mdf
From: Moritz Fischer This allows 'fixed-link' direct MAC connections to be declared in devicetree. Signed-off-by: Moritz Fischer Cc: Nicolas Ferre --- drivers/net/ethernet/cadence/macb.c | 61 ++--- drivers/net/ethernet/cadence/macb.h | 1 + 2 files changed, 5