lantiq: add default switch setup to td8970

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42544 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
John Crispin
2014-09-15 10:18:37 +00:00
parent 23b3b67e42
commit 228eec0a3c

View File

@@ -154,6 +154,9 @@ P2812HNUFX)
TDW8970)
lan_mac=$(mtd_get_mac_binary boardconfig 61696)
wan_mac=$(macaddr_add "$lan_mac" 1)
ucidef_set_interface_lan 'eth0.1'
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 2 4 5 6t"
;;
ARV7519RW22)