3 # Copyright (C) 2014-2015 OpenWrt.org
6 . /lib/functions/uci-defaults-new.sh
11 ucidef_set_interface_loopback
13 board=$(mvebu_board_name)
16 armada-385-linksys-caiman)
17 ucidef_set_interfaces_lan_wan "eth1" "eth0"
19 armada-385-linksys-cobra)
20 ucidef_set_interfaces_lan_wan "eth1" "eth0"
22 armada-385-linksys-shelby)
23 ucidef_set_interfaces_lan_wan "eth1" "eth0"
25 armada-xp-linksys-mamba)
26 ucidef_set_interfaces_lan_wan "eth0" "eth1"
27 ucidef_add_switch "switch0" "1" "1"
28 ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5"
29 ucidef_add_switch_vlan "switch0" "2" "4 6"
32 ucidef_set_interfaces_lan_wan "eth0 eth1" "eth2"
35 ucidef_set_interface_lan "eth0 eth1 eth2 eth3"
38 ucidef_set_interface_lan "eth0"