aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-09-15 10:18:37 +0000
committerJohn Crispin <blogic@openwrt.org>2014-09-15 10:18:37 +0000
commit228eec0a3cefcd622df721c9e2d0a867a10b3780 (patch)
tree635e74b34d3f712944f29a07759a8a0522337c00 /target/linux/lantiq/base-files
parent23b3b67e42d9c3c00cac1f3598a2802380f8c2ec (diff)
downloadupstream-228eec0a3cefcd622df721c9e2d0a867a10b3780.tar.gz
upstream-228eec0a3cefcd622df721c9e2d0a867a10b3780.tar.bz2
upstream-228eec0a3cefcd622df721c9e2d0a867a10b3780.zip
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
Diffstat (limited to 'target/linux/lantiq/base-files')
-rw-r--r--target/linux/lantiq/base-files/etc/uci-defaults/02_network3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
index 2dee0c174f..8d9ae4f57f 100644
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@ -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)