1
0
Fork 0
alistair23-linux/net/dsa
Andrew Lunn 0b42f03363 dsa: Add MODULE_ALIAS to taggers in preparation to become modules
When the tag drivers become modules, we will need to dynamically load
them based on what the switch drivers need. Add aliases to map between
the TAG protocol and the driver.

In order to do this, we need the tag protocol number as something
which the C pre-processor can stringinfy. Only the compiler knows the
value of an enum, CPP cannot use them. So add #defines.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-28 19:41:01 -04:00
..
Kconfig net: devlink: select NET_DEVLINK from drivers 2019-03-24 14:55:31 -04:00
Makefile net: dsa: Add Lantiq / Intel GSWIP tag support 2018-09-13 08:14:33 -07:00
dsa.c dsa: Move tagger name into its ops structure 2019-04-28 19:41:00 -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
legacy.c net: dsa: legacy: simplify getting .driver_data 2018-10-22 19:49:04 -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 MODULE_ALIAS to taggers in preparation to become modules 2019-04-28 19:41:01 -04:00
tag_dsa.c dsa: Add MODULE_ALIAS to taggers in preparation to become modules 2019-04-28 19:41:01 -04:00
tag_edsa.c dsa: Add MODULE_ALIAS to taggers in preparation to become modules 2019-04-28 19:41:01 -04:00
tag_gswip.c dsa: Add MODULE_ALIAS to taggers in preparation to become modules 2019-04-28 19:41:01 -04:00
tag_ksz.c dsa: Add MODULE_ALIAS to taggers in preparation to become modules 2019-04-28 19:41:01 -04:00
tag_lan9303.c dsa: Add MODULE_ALIAS to taggers in preparation to become modules 2019-04-28 19:41:01 -04:00
tag_mtk.c dsa: Add MODULE_ALIAS to taggers in preparation to become modules 2019-04-28 19:41:01 -04:00
tag_qca.c dsa: Add MODULE_ALIAS to taggers in preparation to become modules 2019-04-28 19:41:01 -04:00
tag_trailer.c dsa: Add MODULE_ALIAS to taggers in preparation to become modules 2019-04-28 19:41:01 -04:00