Re: [PATCH net-next 03/10] net: mvpp2: phylink support

2018-03-19 Thread Antoine Tenart
Hi Russell, On Fri, Mar 16, 2018 at 04:03:22PM +, Russell King - ARM Linux wrote: > On Fri, Mar 16, 2018 at 11:33:44AM +0100, Antoine Tenart wrote: > > +static void mvpp2_phylink_validate(struct net_device *dev, > > + unsigned long *supported, > > +

Re: [PATCH net-next 03/10] net: mvpp2: phylink support

2018-03-16 Thread Russell King - ARM Linux
On Fri, Mar 16, 2018 at 11:33:44AM +0100, Antoine Tenart wrote: > +static void mvpp2_phylink_validate(struct net_device *dev, > +unsigned long *supported, > +struct phylink_link_state *state) > +{ > + __ETHTOOL_DECLARE_LINK_MODE_MA

[PATCH net-next 03/10] net: mvpp2: phylink support

2018-03-16 Thread Antoine Tenart
Convert the PPv2 driver to implement phylink helpers, and use phylink in DT mode. The other mode supported is ACPI, which will need further work in order to be entirely compatible with phylink. The MAC and GoP configuration functions were completely moved to fit into the phylink helpers. When a PH