mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-14 16:26:34 +00:00
kernel: netdevices: fold mv88e6xxx into one package
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Waiting to run
Build host tools / Build host tools for linux and macos based systems (push) Waiting to run
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Waiting to run
Build host tools / Build host tools for linux and macos based systems (push) Waiting to run
This was the first DSA packaged, and the tagger was made into a separate package. This is too complicated: the mv88e6xxx is the only module using this tagger after all, fold the module for the DSA hardware and the driver for the tagger into a single package and let modprobe do its job of probing the tagger for the driver. Tested on the BMIPS Inteno XG6846. Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250110-mv88e6xxx-single-package-v1-1-223ad7fb312e@linaro.org/ Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
40e2710dfa
commit
277642c035
@ -593,31 +593,20 @@ endef
|
||||
|
||||
$(eval $(call KernelPackage,dsa-mv88e6060))
|
||||
|
||||
define KernelPackage/dsa-tag-dsa
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Marvell DSA type DSA and EDSA taggers
|
||||
DEPENDS:=+kmod-dsa
|
||||
KCONFIG:= CONFIG_NET_DSA_TAG_DSA_COMMON \
|
||||
CONFIG_NET_DSA_TAG_DSA \
|
||||
CONFIG_NET_DSA_TAG_EDSA
|
||||
FILES:=$(LINUX_DIR)/net/dsa/tag_dsa.ko
|
||||
AUTOLOAD:=$(call AutoLoad,40,tag_dsa,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/dsa-tag-dsa/description
|
||||
Kernel modules for Marvell DSA and EDSA tagging
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,dsa-tag-dsa))
|
||||
|
||||
define KernelPackage/dsa-mv88e6xxx
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Marvell MV88E6XXX DSA Switch
|
||||
DEPENDS:=+kmod-dsa +kmod-ptp +kmod-phy-marvell +kmod-dsa-tag-dsa
|
||||
KCONFIG:=CONFIG_NET_DSA_MV88E6XXX \
|
||||
DEPENDS:=+kmod-dsa +kmod-ptp +kmod-phy-marvell
|
||||
KCONFIG:= \
|
||||
CONFIG_NET_DSA_TAG_DSA_COMMON \
|
||||
CONFIG_NET_DSA_TAG_DSA \
|
||||
CONFIG_NET_DSA_TAG_EDSA \
|
||||
CONFIG_NET_DSA_MV88E6XXX \
|
||||
CONFIG_NET_DSA_MV88E6XXX_LEDS=y \
|
||||
CONFIG_NET_DSA_MV88E6XXX_PTP=y
|
||||
FILES:=$(LINUX_DIR)/drivers/net/dsa/mv88e6xxx/mv88e6xxx.ko
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/net/dsa/tag_dsa.ko \
|
||||
$(LINUX_DIR)/drivers/net/dsa/mv88e6xxx/mv88e6xxx.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,mv88e6xxx,1)
|
||||
endef
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user