ramips: fix Belkin F5D8235-v2 VLAN setup

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30452 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Gabor Juhos 2012-02-11 15:31:18 +00:00
parent bf98da9c80
commit e356b49dcd
1 changed files with 11 additions and 5 deletions

View File

@ -36,7 +36,17 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "rtl8366s" "2" "0 5t" ucidef_add_switch_vlan "rtl8366s" "2" "0 5t"
;; ;;
f5d8235-v2 | \ f5d8235-v2)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "rtl8366rb" "1" "1"
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) wl-351)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "rtl8366rb" "1" "1" ucidef_add_switch "rtl8366rb" "1" "1"
@ -44,10 +54,6 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "rtl8366rb" "2" "4 5t" ucidef_add_switch_vlan "rtl8366rb" "2" "4 5t"
;; ;;
wcr-150gn)
ucidef_set_interface_lan_wan "eth0.2" "eth0.1"
;;
wli-tx4-ag300n) wli-tx4-ag300n)
ucidef_set_interface_lan "eth0" ucidef_set_interface_lan "eth0"
;; ;;