2 # Copyright (C) 2011-2015 OpenWrt.org
5 . /lib/functions/uci-defaults.sh
6 . /lib/functions/system.sh
7 . /lib/functions/lantiq.sh
9 lantiq_setup_interfaces()
15 ucidef_add_switch "switch0" \
16 "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth0"
19 ucidef_set_interface_lan 'eth0'
37 lantiq_setup_dsl_helper "$annex"
49 [ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" "$lan_mac"
50 [ -n "$wan_mac" ] && ucidef_set_interface_macaddr "wan" "$wan_mac"
55 lantiq_setup_interfaces $board
56 lantiq_setup_dsl $board
57 lantiq_setup_macs $board