aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-07-22 16:02:13 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-07-22 16:02:13 +0000
commitf1d73046b401d8e8ce9f891bfa74af73a35e8a14 (patch)
treee5a801110c832af47ad3053324c7790de986d8cc /target/linux/ar71xx
parentb894033aad5892cad1be9b5781ae9c3099c897f4 (diff)
downloadupstream-f1d73046b401d8e8ce9f891bfa74af73a35e8a14.tar.gz
upstream-f1d73046b401d8e8ce9f891bfa74af73a35e8a14.tar.bz2
upstream-f1d73046b401d8e8ce9f891bfa74af73a35e8a14.zip
ar71xx: fix switch port map for the Archer C7
The correct port number for the WAN port is 1. Update the VLAN port maps to reflect that. https://forum.openwrt.org/viewtopic.php?pid=203755#p203755 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37507 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network10
1 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index 86dceabcb6..c4b6cd25f0 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -37,14 +37,20 @@ ap136-010)
;;
ap136-020 |\
-ap135-020 |\
-archer-c7)
+ap135-020)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
ucidef_add_switch_vlan "switch0" "2" "5 6"
;;
+archer-c7)
+ ucidef_set_interfaces_lan_wan "eth1" "eth0"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 2 3 4 5"
+ ucidef_add_switch_vlan "switch0" "2" "1 6"
+ ;;
+
db120 |\
rb-2011l | \
rb-2011uas |\