net: dsa: isolate legacy code
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Wed, 12 Apr 2017 16:45:03 +0000 (12:45 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Apr 2017 15:03:17 +0000 (11:03 -0400)
commita6a71f19fe5e05a90e0bd2487b87aba60a7bfbe0
treeda822224ba07033b3f2db1ee0583af313cab755e
parent6b6cbc1471676402565e958674523d06213b82d7
net: dsa: isolate legacy code

This patch moves as is the legacy DSA code from dsa.c to legacy.c,
except the few shared symbols which remain in dsa.c.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/Makefile
net/dsa/dsa.c
net/dsa/dsa_priv.h
net/dsa/legacy.c [new file with mode: 0644]