forked from luck/tmp_suning_uos_patched
b74b70c449
Add a new type: DSA_TAG_PROTO_PREPEND which allows us to support for the 4-bytes Broadcom tag that we already support, but in a format where it is pre-pended to the packet instead of located between the MAC SA and the Ethertyper (DSA_TAG_PROTO_BRCM). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
16 lines
632 B
Makefile
16 lines
632 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# the core
|
|
obj-$(CONFIG_NET_DSA) += dsa_core.o
|
|
dsa_core-y += dsa.o dsa2.o legacy.o master.o port.o slave.o switch.o
|
|
|
|
# tagging formats
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_BRCM) += tag_brcm.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_BRCM_PREPEND) += tag_brcm.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_DSA) += tag_dsa.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_EDSA) += tag_edsa.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_KSZ) += tag_ksz.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_LAN9303) += tag_lan9303.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_MTK) += tag_mtk.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_QCA) += tag_qca.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o
|