ipq40xx: specify FritzBox 7530 LAN port label numbers
authorRafał Miłecki <rafal@milecki.pl>
Thu, 10 Jun 2021 05:14:03 +0000 (07:14 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 24 Jun 2021 07:02:31 +0000 (09:02 +0200)
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

index ecdbac8f8655b1ad04cdeb51e05056f781aff599..a675acc8db548d61a629d383b8fb3a084b68a6fc 100644 (file)
@@ -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" \