ar71xx: fix switch port map for the Archer C7
authorGabor Juhos <juhosg@openwrt.org>
Mon, 22 Jul 2013 16:02:13 +0000 (16:02 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 22 Jul 2013 16:02:13 +0000 (16:02 +0000)
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>
SVN-Revision: 37507

target/linux/ar71xx/base-files/etc/uci-defaults/02_network

index 86dceabcb60c05f9e1b9e3a06f59cdaa8c8ec27b..c4b6cd25f01dcb792853ee86c2929f7cfb7c0c8c 100755 (executable)
@@ -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 |\