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

From: Andrew Lunn
Date: Wed Jul 20 2016 - 20:36:07 EST


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.

> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/net/dsa/Kconfig | 4 +-
> drivers/net/dsa/mv88e6xxx/chip.c | 8 +
> include/net/dsa.h | 4 +
> net/dsa/Kconfig | 8 +
> net/dsa/Makefile | 1 +
> net/dsa/dsa.c | 985 ------------------------------------
> net/dsa/legacy.c | 1013 ++++++++++++++++++++++++++++++++++++++

I'm surprised git did not notice this is a rename.

Andrew