kernel: add kmod packages for Broadcom bcm53xxx switch support

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
master
Tobias Schramm 2019-12-03 22:46:01 +01:00 committed by David Bauer
parent 7d97fdf5ef
commit b16e5517b5
1 changed files with 30 additions and 0 deletions

View File

@ -223,6 +223,36 @@ endef
$(eval $(call KernelPackage,swconfig))
define KernelPackage/switch-bcm53xx
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Broadcom bcm53xx switch support
DEPENDS:=+kmod-swconfig
KCONFIG:=CONFIG_SWCONFIG_B53
FILES:=$(LINUX_DIR)/drivers/net/phy/b53/b53_common.ko
AUTOLOAD:=$(call AutoLoad,42,b53_common)
endef
define KernelPackage/switch-bcm53xx/description
Broadcom bcm53xx switch support
endef
$(eval $(call KernelPackage,switch-bcm53xx))
define KernelPackage/switch-bcm53xx-mdio
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Broadcom bcm53xx switch MDIO support
DEPENDS:=+kmod-switch-bcm53xx
KCONFIG:=CONFIG_SWCONFIG_B53_PHY_DRIVER
FILES:=$(LINUX_DIR)/drivers/net/phy/b53/b53_mdio.ko
AUTOLOAD:=$(call AutoLoad,42,b53_mdio)
endef
define KernelPackage/switch-bcm53xx-mdio/description
Broadcom bcm53xx switch MDIO support
endef
$(eval $(call KernelPackage,switch-bcm53xx-mdio))
define KernelPackage/switch-mvsw61xx
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Marvell 88E61xx switch support