kernel: kmod-dsa-notag: Add driver
The CONFIG_B53 kernel config option will select this driver. Add the driver to the kernel config menu and make kmod-dsa-b53 depend on it. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
5a04f17857
commit
75f090ef96
|
@ -604,10 +604,25 @@ endef
|
||||||
$(eval $(call KernelPackage,dsa))
|
$(eval $(call KernelPackage,dsa))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/dsa-notag
|
||||||
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
|
TITLE:=DSA No-op tag driver
|
||||||
|
DEPENDS:=+kmod-dsa
|
||||||
|
KCONFIG:=CONFIG_NET_DSA_TAG_NONE
|
||||||
|
FILES:=$(LINUX_DIR)/net/dsa/tag_none.ko
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/dsa-notag/description
|
||||||
|
Kernel module support for switches which don't tag frames over the CPU port.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,dsa-notag))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/dsa-b53
|
define KernelPackage/dsa-b53
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Broadcom BCM53xx managed switch DSA support
|
TITLE:=Broadcom BCM53xx managed switch DSA support
|
||||||
DEPENDS:=+kmod-dsa
|
DEPENDS:=+kmod-dsa +kmod-dsa-notag
|
||||||
KCONFIG:=CONFIG_B53 \
|
KCONFIG:=CONFIG_B53 \
|
||||||
CONFIG_NET_DSA_TAG_BRCM \
|
CONFIG_NET_DSA_TAG_BRCM \
|
||||||
CONFIG_NET_DSA_TAG_BRCM_LEGACY \
|
CONFIG_NET_DSA_TAG_BRCM_LEGACY \
|
||||||
|
|
Loading…
Reference in New Issue