Re: [PATCHv3 4/4] net: mvneta: add support for fixed links

2014-03-07 Thread Grant Likely
On Tue, 4 Mar 2014 12:30:38 +0100, Thomas Petazzoni wrote: > Hello all, > > On Tue, 4 Mar 2014 11:58:24 +0100, Thomas Petazzoni wrote: > > > phy_node = of_parse_phandle(dn, "phy", 0); > > - if (!phy_node) { > > - dev_err(&pdev->dev, "no associated PHY\n"); > > - err =

Re: [PATCHv3 4/4] net: mvneta: add support for fixed links

2014-03-04 Thread Thomas Petazzoni
Hello all, On Tue, 4 Mar 2014 11:58:24 +0100, Thomas Petazzoni wrote: > phy_node = of_parse_phandle(dn, "phy", 0); > - if (!phy_node) { > - dev_err(&pdev->dev, "no associated PHY\n"); > - err = -ENODEV; > - goto err_free_irq; > + if (of_phy_is_fi

[PATCHv3 4/4] net: mvneta: add support for fixed links

2014-03-04 Thread Thomas Petazzoni
Following the introduction of of_phy_register_fixed_link(), this patch introduces fixed link support in the mvneta driver, for Marvell Armada 370/XP SOCs. Signed-off-by: Thomas Petazzoni --- .../devicetree/bindings/net/marvell-armada-370-neta.txt| 4 ++-- drivers/net/ethernet/marvell/mv