[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200608190515.GI1006885@lunn.ch>
Date: Mon, 8 Jun 2020 21:05:15 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Jonathan McDowell <noodles@...th.li>
Cc: netdev <netdev@...r.kernel.org>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Russell King <rmk+kernel@...linux.org.uk>
Subject: Re: [RFC PATCH v2] net: dsa: qca8k: Improve SGMII interface handling
On Mon, Jun 08, 2020 at 07:39:53PM +0100, Jonathan McDowell wrote:
> On Sat, Jun 06, 2020 at 11:59:09AM +0100, Jonathan McDowell wrote:
> > I'll go away and roll a v2 moving qca8k over to phylink and then using
> > that to auto select the appropriate SGMII mode. Thanks for the feedback.
>
> Ok, take 2. I've switched the driver over to phylink which has let me
> drop the need for any device tree configuration; if we're a CPU port
> then we're in SGMII-PHY mode, otherwise we choose between SGMII-MAC +
> Base-X on what phylink tells us.
Hi Johnathan
Could you split this into two parts. One or more patches which
converts to phylink, and a patch which adds new functionality. If it
breaks, we then have a better idea what broke it.
Conversions to phylink are not easy to review because a lot of code
gets moved around. It sometimes helps if you can turn existing code
into helpers, rather than inline them.
Andrew
Powered by blists - more mailing lists