mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 08:44:14 +08:00
f2f2356685
DSA overrides the master device ethtool ops, so that it can inject stats from its dedicated switch CPU port as well. The related code is currently split in dsa.c and slave.c, but it only scopes the master net device. Move it to a new master.c DSA core file. This file will be later extented with master net device specific code. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
14 lines
539 B
Makefile
14 lines
539 B
Makefile
# 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_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
|