Re: [PATCH net-next] net: dsa: add CONFIG_NET_DSA_LEGACY

From: Andrew Lunn
Date: Thu Jul 21 2016 - 10:52:50 EST


On Thu, Jul 21, 2016 at 10:46:56AM -0400, Vivien Didelot wrote:
> Florian Fainelli <f.fainelli@xxxxxxxxx> writes:
>
> > Le 20/07/2016 à 17:35, Andrew Lunn a écrit :
> >> On Wed, Jul 20, 2016 at 06:26:41PM -0400, Vivien Didelot wrote:
> >>> This patch simply moves the legacy DSA code from dsa.c to legacy.c,
> >>> except the few shared symbols which remain in dsa.c.
> >>
> >> I think it is a bit early for this. Lets convert all in kernel users
> >> to the new binding first.
> >
> > Fine with me, let's try to get the in-tree DTS files converted to the
> > new binding by v4.9 so we can then introduce this Kconfig symbol and
> > start producing warnings if the old binding is encountered, how does
> > that sound?
>
> If you guys prefer going that way, that's fine with me too ;-)

Yes, i would prefer that.

Andrew