Historically, DSA tag drivers have been compiled into the kernel as part of the DSA core. With the growing number of tag drivers, it makes sense to allow this driver code to be compiled as a module, and loaded on demand.
Andrew Lunn (15): dsa: Add SPDX header to tag drivers. dsa: Move tagger name into its ops structure dsa: Add MODULE_ALIAS to taggers in preperation to become modules dsa: Add MODULE_LICENSE to tag drivers dsa: Add TAG protocol to tag ops dsa: Remove const from tag driver ops structure dsa: Add boilerplate helper to register DSA tag driver modules dsa: Keep link list of tag drivers dsa: Register the none tagger ops dsa: Rename dsa_resolve_tag_protocol() to _get ready for locking dsa: Add stub tag driver put method dsa: Make use of the list of tag drivers dsa: Cleanup unneeded table and make tag structures static dsa: Allow tag drivers to be built as modules dsa: tag_brcm: Avoid unused symbols include/net/dsa.h | 94 ++++++++++++++++++++---- net/dsa/Kconfig | 86 +++++++++++++++++----- net/dsa/Makefile | 19 +++-- net/dsa/dsa.c | 163 +++++++++++++++++++++--------------------- net/dsa/dsa2.c | 4 +- net/dsa/dsa_priv.h | 33 +-------- net/dsa/legacy.c | 4 +- net/dsa/tag_brcm.c | 34 +++++++-- net/dsa/tag_dsa.c | 15 ++-- net/dsa/tag_edsa.c | 15 ++-- net/dsa/tag_gswip.c | 9 ++- net/dsa/tag_ksz.c | 26 +++++-- net/dsa/tag_lan9303.c | 20 +++--- net/dsa/tag_mtk.c | 18 ++--- net/dsa/tag_qca.c | 19 +++-- net/dsa/tag_trailer.c | 15 ++-- 16 files changed, 354 insertions(+), 220 deletions(-) -- 2.20.1