mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-23 04:25:21 +00:00
lantiq: xrx200: convert switch driver to package
The next commit converts the firmware used by this driver to a package. Due to the fact that the driver is shipped as a package the firmware is already available. Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> Link: https://github.com/openwrt/openwrt/pull/17669 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
f4ba980f15
commit
62bf028732
target/linux/lantiq
@ -17,3 +17,21 @@ endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-lantiq))
|
||||
|
||||
define KernelPackage/dsa-gswip
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Lantiq xRx200/xRx300/xRx330 switch support
|
||||
DEPENDS:=@TARGET_lantiq_xrx200||TARGET_lantiq_xrx200_legacy
|
||||
KCONFIG:= \
|
||||
CONFIG_NET_DSA_LANTIQ_GSWIP \
|
||||
CONFIG_NET_DSA_TAG_GSWIP
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/net/dsa/lantiq_gswip.ko \
|
||||
$(LINUX_DIR)/net/dsa/tag_gswip.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,lantiq_gswip)
|
||||
endef
|
||||
|
||||
define KernelPackage/dsa-gswip/description
|
||||
Lantiq xRx200/xRx300/xRx330 switch support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,dsa-gswip))
|
||||
|
@ -50,13 +50,12 @@ CONFIG_MTD_UBI_WL_THRESHOLD=4096
|
||||
CONFIG_NEED_SRCU_NMI_SAFE=y
|
||||
CONFIG_NET_DEVLINK=y
|
||||
CONFIG_NET_DSA=y
|
||||
CONFIG_NET_DSA_LANTIQ_GSWIP=y
|
||||
CONFIG_NET_DSA_TAG_GSWIP=y
|
||||
CONFIG_NET_FLOW_LIMIT=y
|
||||
CONFIG_NET_SWITCHDEV=y
|
||||
CONFIG_NLS=y
|
||||
CONFIG_NR_CPUS=2
|
||||
CONFIG_PADATA=y
|
||||
CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
CONFIG_PCIE_LANTIQ=y
|
||||
|
@ -12,6 +12,7 @@ DEFAULT_PACKAGES+=kmod-leds-gpio \
|
||||
kmod-ltq-atm-vr9 \
|
||||
kmod-ltq-deu-vr9 \
|
||||
kmod-ltq-ptm-vr9 \
|
||||
kmod-dsa-gswip \
|
||||
ltq-vdsl-vr9-app \
|
||||
dsl-vrx200-firmware-xdsl-a \
|
||||
dsl-vrx200-firmware-xdsl-b-patch \
|
||||
|
@ -37,8 +37,6 @@ CONFIG_MIPS_VPE_LOADER_TOM=y
|
||||
CONFIG_NEED_SRCU_NMI_SAFE=y
|
||||
CONFIG_NET_DEVLINK=y
|
||||
CONFIG_NET_DSA=y
|
||||
CONFIG_NET_DSA_LANTIQ_GSWIP=y
|
||||
CONFIG_NET_DSA_TAG_GSWIP=y
|
||||
CONFIG_NET_FLOW_LIMIT=y
|
||||
CONFIG_NET_SWITCHDEV=y
|
||||
CONFIG_NLS=y
|
||||
|
@ -13,6 +13,7 @@ DEFAULT_PACKAGES+=kmod-leds-gpio \
|
||||
kmod-ltq-deu-vr9 \
|
||||
kmod-ltq-ptm-vr9 \
|
||||
ltq-vdsl-vr9-app \
|
||||
kmod-dsa-gswip \
|
||||
dsl-vrx200-firmware-xdsl-a \
|
||||
dsl-vrx200-firmware-xdsl-b-patch \
|
||||
ppp-mod-pppoa
|
||||
|
Loading…
x
Reference in New Issue
Block a user