]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
lantiq: xrx200: autoload lantiq_gswip and tag_gswip to fix failsafe mode 22514/head
authorBenjamin Levine <benjaminmileslevine@gmail.com>
Fri, 20 Mar 2026 06:07:31 +0000 (06:07 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 22 Mar 2026 21:35:37 +0000 (22:35 +0100)
lantiq_gswip and tag_gswip were not loaded during failsafe, leaving the
switch uninitialised. This caused LAN1 port to show no link, making
SSH-based recovery impossible.
Add the autoload flag and include tag_gswip (which was also missing from
the autoload list) so the switch initialises correctly in failsafe mode.

Tested on BT HomeHub 5A (lantiq/xrx200).

Fixes: https://github.com/openwrt/openwrt/issues/22480
Signed-off-by: Benjamin Levine <benjaminmileslevine@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22514
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/lantiq/modules.mk

index e1aea4b03989659a4f1da446aa63cf930fe0ed19..37c54cedd39900fb90cd95be5fb83dcf7a206810 100644 (file)
@@ -27,7 +27,7 @@ define KernelPackage/dsa-gswip
   FILES:= \
        $(LINUX_DIR)/drivers/net/dsa/lantiq_gswip.ko \
        $(LINUX_DIR)/net/dsa/tag_gswip.ko
-  AUTOLOAD:=$(call AutoLoad,41,lantiq_gswip)
+  AUTOLOAD:=$(call AutoLoad,41,tag_gswip lantiq_gswip,1)
 endef
 
 define KernelPackage/dsa-gswip/description