lantiq: add default switch setup to td8970
[openwrt/svn-archive/archive.git] / target / linux / lantiq / base-files / etc / uci-defaults / 02_network
index 2dee0c174f9c75ed7c2ca082dac0f6e9bd089d07..8d9ae4f57f4e26bcbe60ef3686a62ae963a51710 100644 (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)