[openwrt/openwrt] ipq40xx: add Linksys MR8300 WAN port

LEDE Commits lede-commits at lists.infradead.org
Sat Aug 27 23:21:33 PDT 2022


ynezz pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/cd7e6c8a81f1ea02d7cfb486388e644485956b09

commit cd7e6c8a81f1ea02d7cfb486388e644485956b09
Author: Julien Cassette <julien.cassette at gmail.com>
AuthorDate: Mon Jan 17 19:41:32 2022 +0100

    ipq40xx: add Linksys MR8300 WAN port
    
    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 at gmail.com>
    (cherry picked from commit 2c1f8a665eb3dce27deb4f9f9b718eb8baf997bd)
---
 target/linux/ipq40xx/base-files/etc/board.d/02_network | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

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 c70aa0b95c..87c79db5e1 100755
--- a/target/linux/ipq40xx/base-files/etc/board.d/02_network
+++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network
@@ -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 at eth0" "1:lan" "2:lan" "3:lan" "4:lan"
 		;;
+	linksys,mr8300)
+		ucidef_set_interfaces_lan_wan "eth0" "eth1"
+		ucidef_add_switch "switch0" \
+			"0u at eth0" "1:lan" "2:lan" "3:lan" "4:lan" "0u at eth1" "5:wan"
+		;;
 	avm,fritzbox-7530)
 		ucidef_add_switch "switch0" \
 			"0u at eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"




More information about the lede-commits mailing list