Re: [PATCHv3 1/5] net: dsa: Support internal phy on 'cpu' port

2018-01-16 Thread Sebastian Reichel
Hi, On Mon, Jan 15, 2018 at 11:57:18PM +0100, Andrew Lunn wrote: > > int dsa_port_fixed_link_register_of(struct dsa_port *dp) > > { > > struct device_node *dn = dp->dn; > > @@ -305,6 +354,10 @@ int dsa_port_fixed_link_register_of(struct dsa_port > > *dp) > >

Re: [PATCHv3 1/5] net: dsa: Support internal phy on 'cpu' port

2018-01-15 Thread Andrew Lunn
> int dsa_port_fixed_link_register_of(struct dsa_port *dp) > { > struct device_node *dn = dp->dn; > @@ -305,6 +354,10 @@ int dsa_port_fixed_link_register_of(struct dsa_port *dp) > ds->ops->adjust_link(ds, port, phydev); > > put_device(>mdio.dev); > +

Re: [PATCHv3 1/5] net: dsa: Support internal phy on 'cpu' port

2018-01-15 Thread Florian Fainelli
On 01/15/2018 11:37 AM, Sebastian Reichel wrote: > This adds support for enabling the internal PHY for a 'cpu' port. > It has been tested on GE B850v3, B650v3 and B450v3, which have a > built-in MV88E6240 switch connected to a PCIe based network card. > Without this patch the link does not come

[PATCHv3 1/5] net: dsa: Support internal phy on 'cpu' port

2018-01-15 Thread Sebastian Reichel
This adds support for enabling the internal PHY for a 'cpu' port. It has been tested on GE B850v3, B650v3 and B450v3, which have a built-in MV88E6240 switch connected to a PCIe based network card. Without this patch the link does not come up and no traffic can be routed through the switch. The