linux/net/dsa
Andrew Lunn d3b8c04988 dsa: Add boilerplate helper to register DSA tag driver modules
A DSA tag driver module will need to register the tag protocols it
implements with the DSA core. Add macros containing this boiler plate.

The registration/unregistration code is currently just a stub. A Later
patch will add the real implementation.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>

v2
Fix indent of #endif
Rewrite to move list pointer into a new structure
v3
Move kdoc next to macro
Fix THIS_MODULE indentation

Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-28 19:41:01 -04:00
..
dsa2.c dsa: pass switch ID through devlink_port_attrs_set() 2019-04-04 17:42:36 -07:00
dsa_priv.h net: dsa: add KSZ9893 switch tagging support 2019-03-03 13:48:49 -08:00
dsa.c dsa: Add boilerplate helper to register DSA tag driver modules 2019-04-28 19:41:01 -04:00
Kconfig net: devlink: select NET_DEVLINK from drivers 2019-03-24 14:55:31 -04:00
legacy.c net: dsa: legacy: simplify getting .driver_data 2018-10-22 19:49:04 -07:00
Makefile net: dsa: Add Lantiq / Intel GSWIP tag support 2018-09-13 08:14:33 -07:00
master.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-08 15:00:17 -08:00
port.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-03-02 12:54:35 -08:00
slave.c dsa: pass switch ID through devlink_port_attrs_set() 2019-04-04 17:42:36 -07:00
switch.c net: dsa: Add ndo_vlan_rx_{add, kill}_vid implementation 2019-02-22 11:53:32 -08:00
tag_brcm.c dsa: Add boilerplate helper to register DSA tag driver modules 2019-04-28 19:41:01 -04:00
tag_dsa.c dsa: Add boilerplate helper to register DSA tag driver modules 2019-04-28 19:41:01 -04:00
tag_edsa.c dsa: Add boilerplate helper to register DSA tag driver modules 2019-04-28 19:41:01 -04:00
tag_gswip.c dsa: Add boilerplate helper to register DSA tag driver modules 2019-04-28 19:41:01 -04:00
tag_ksz.c dsa: Add boilerplate helper to register DSA tag driver modules 2019-04-28 19:41:01 -04:00
tag_lan9303.c dsa: Add boilerplate helper to register DSA tag driver modules 2019-04-28 19:41:01 -04:00
tag_mtk.c dsa: Add boilerplate helper to register DSA tag driver modules 2019-04-28 19:41:01 -04:00
tag_qca.c dsa: Add boilerplate helper to register DSA tag driver modules 2019-04-28 19:41:01 -04:00
tag_trailer.c dsa: Add boilerplate helper to register DSA tag driver modules 2019-04-28 19:41:01 -04:00