aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx
diff options
context:
space:
mode:
authorJulien Cassette <julien.cassette@gmail.com>2022-01-17 19:41:32 +0100
committerChristian Lamparter <chunkeey@gmail.com>2022-02-05 00:44:35 +0100
commit2c1f8a665eb3dce27deb4f9f9b718eb8baf997bd (patch)
treec795cae4f74af9f83e38247fc78b4925eed5f8e3 /target/linux/ipq40xx
parenta91ab8bc05b737d7e14976aaf929a71ea37fa1c6 (diff)
downloadupstream-2c1f8a665eb3dce27deb4f9f9b718eb8baf997bd.tar.gz
upstream-2c1f8a665eb3dce27deb4f9f9b718eb8baf997bd.tar.bz2
upstream-2c1f8a665eb3dce27deb4f9f9b718eb8baf997bd.zip
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@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx')
-rw-r--r--target/linux/ipq40xx/base-files/etc/board.d/02_network8
1 files 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 11ebb2ef83..f0b3adae26 100644
--- a/target/linux/ipq40xx/base-files/etc/board.d/02_network
+++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network
@@ -67,12 +67,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"