diff mbox series

ipq40xx: specify FritzBox 7530 LAN port label numbers

Message ID 20210610051403.30486-1-zajec5@gmail.com
State Under Review
Delegated to: Rafał Miłecki
Headers show
Series ipq40xx: specify FritzBox 7530 LAN port label numbers | expand

Commit Message

Rafał Miłecki June 10, 2021, 5:14 a.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

This helps managing LAN ports.

Ref: https://forum.openwrt.org/t/openwrt-21-02-0-second-release-candidate/98026/121
Fixes: 95b0c07a618f ("ipq40xx: add support for FritzBox 7530")
Cc: David Bauer <mail@david-bauer.net>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 target/linux/ipq40xx/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network
index ecdbac8f86..a675acc8db 100644
--- a/target/linux/ipq40xx/base-files/etc/board.d/02_network
+++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network
@@ -65,7 +65,7 @@  ipq40xx_setup_interfaces()
 		;;
 	avm,fritzbox-7530)
 		ucidef_add_switch "switch0" \
-			"0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan"
+			"0u@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
 		;;
 	avm,fritzrepeater-3000)
 		ucidef_add_switch "switch0" \