Re: [PATCH net-next] net: macb: convert to phylink

2019-10-23 Thread Antoine Tenart
Hi Russell, Sorry for not including you at first on this patch, I'll make sure I do for v2. On Fri, Oct 18, 2019 at 09:08:23PM +0100, Russell King - ARM Linux admin wrote: > On Fri, Oct 18, 2019 at 09:08:10PM +0200, Andrew Lunn wrote: > > On Fri, Oct 18, 2019 at 04:39:24PM +0200, Antoine Tenart w

Re: [PATCH net-next] net: macb: convert to phylink

2019-10-22 Thread Alexandre Belloni
On 18/10/2019 21:08:23+0100, Russell King - ARM Linux admin wrote: > On Fri, Oct 18, 2019 at 09:08:10PM +0200, Andrew Lunn wrote: > > On Fri, Oct 18, 2019 at 04:39:24PM +0200, Antoine Tenart wrote: > > > This patch converts the MACB Ethernet driver to the Phylink framework. > > > The MAC configurat

Re: [PATCH net-next] net: macb: convert to phylink

2019-10-18 Thread Russell King - ARM Linux admin
Hi Andrew, Thanks, review comments for Antoine below. On Fri, Oct 18, 2019 at 09:08:10PM +0200, Andrew Lunn wrote: > On Fri, Oct 18, 2019 at 04:39:24PM +0200, Antoine Tenart wrote: > > This patch converts the MACB Ethernet driver to the Phylink framework. > > The MAC configuration is moved to the

Re: [PATCH net-next] net: macb: convert to phylink

2019-10-18 Thread Andrew Lunn
> + if (bp->caps & MACB_CAPS_GIGABIT_MODE_AVAILABLE && > + (state->interface == PHY_INTERFACE_MODE_NA || > + state->interface == PHY_INTERFACE_MODE_GMII || > + state->interface == PHY_INTERFACE_MODE_SGMII || > + phy_interface_mode_is_rgmii(state->interface)))

Re: [PATCH net-next] net: macb: convert to phylink

2019-10-18 Thread Andrew Lunn
On Fri, Oct 18, 2019 at 04:39:24PM +0200, Antoine Tenart wrote: > This patch converts the MACB Ethernet driver to the Phylink framework. > The MAC configuration is moved to the Phylink ops and Phylink helpers > are now used in the ethtools functions. > > Signed-off-by: Antoine Tenart Hi Antoine

Re: [PATCH net-next] net: macb: convert to phylink

2019-10-18 Thread Alexandre Belloni
On 18/10/2019 16:39:24+0200, Antoine Ténart wrote: > This patch converts the MACB Ethernet driver to the Phylink framework. > The MAC configuration is moved to the Phylink ops and Phylink helpers > are now used in the ethtools functions. > > Signed-off-by: Antoine Tenart Tested-by: Alexandre Bell

[PATCH net-next] net: macb: convert to phylink

2019-10-18 Thread Antoine Tenart
This patch converts the MACB Ethernet driver to the Phylink framework. The MAC configuration is moved to the Phylink ops and Phylink helpers are now used in the ethtools functions. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/cadence/Kconfig | 2 +- drivers/net/ethernet/cadence/m