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

From: Vivien Didelot
Date: Thu Jul 21 2016 - 10:47:03 EST


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 ;-)

Thanks,

Vivien