ramips: fix Belkin F5D8235-v2 VLAN setup
authorGabor Juhos <juhosg@openwrt.org>
Sat, 11 Feb 2012 15:31:18 +0000 (15:31 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 11 Feb 2012 15:31:18 +0000 (15:31 +0000)
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 30452

target/linux/ramips/base-files/etc/uci-defaults/network

index 174383405af2b9d5d6044582cbf67620591851cd..59d794f1d497dfc4cc4c2180f06b6a05acf6661c 100755 (executable)
@@ -36,18 +36,24 @@ ramips_setup_interfaces()
                ucidef_add_switch_vlan "rtl8366s" "2" "0 5t"
                ;;
 
-       f5d8235-v2 | \
-       wl-351)
+       f5d8235-v2)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ucidef_add_switch "rtl8366rb" "1" "1"
-               ucidef_add_switch_vlan "rtl8366rb" "1" "0 1 2 3 5t"
-               ucidef_add_switch_vlan "rtl8366rb" "2" "4 5t"
+               ucidef_add_switch_vlan "rtl8366rb" "1" "1 2 3 4 5t"
+               ucidef_add_switch_vlan "rtl8366rb" "2" "0 5t"
                ;;
 
        wcr-150gn)
                ucidef_set_interface_lan_wan "eth0.2" "eth0.1"
                ;;
 
+       wl-351)
+               ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+               ucidef_add_switch "rtl8366rb" "1" "1"
+               ucidef_add_switch_vlan "rtl8366rb" "1" "0 1 2 3 5t"
+               ucidef_add_switch_vlan "rtl8366rb" "2" "4 5t"
+               ;;
+
        wli-tx4-ag300n)
                ucidef_set_interface_lan "eth0"
                ;;