ipq40xx: add Linksys MR8300 WAN port
authorJulien Cassette <julien.cassette@gmail.com>
Mon, 17 Jan 2022 18:41:32 +0000 (19:41 +0100)
committerPetr Štetiar <ynezz@true.cz>
Sun, 28 Aug 2022 06:17:55 +0000 (08:17 +0200)
This makes the WAN interface and port appear in
LuCi -> Network -> Switch on Linksys MR8300.
This allows to configure a VLAN on WAN.

Fixes: FS#4227
Signed-off-by: Julien Cassette <julien.cassette@gmail.com>
(cherry picked from commit 2c1f8a665eb3dce27deb4f9f9b718eb8baf997bd)

target/linux/ipq40xx/base-files/etc/board.d/02_network

index c70aa0b95c332ded14176bca9d4e22bc1b8ca279..87c79db5e1769d956411354e45673105dea3e8bd 100755 (executable)
@@ -57,12 +57,16 @@ ipq40xx_setup_interfaces()
                ;;
        avm,fritzbox-4040|\
        linksys,ea6350v3|\
-       linksys,ea8300|\
-       linksys,mr8300)
+       linksys,ea8300)
                ucidef_set_interfaces_lan_wan "eth0" "eth1"
                ucidef_add_switch "switch0" \
                        "0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan"
                ;;
+       linksys,mr8300)
+               ucidef_set_interfaces_lan_wan "eth0" "eth1"
+               ucidef_add_switch "switch0" \
+                       "0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "0u@eth1" "5:wan"
+               ;;
        avm,fritzbox-7530)
                ucidef_add_switch "switch0" \
                        "0u@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"