2 # Copyright (C) 2014-2016 OpenWrt.org
3 # Copyright (C) 2016 LEDE-Project.org
6 . /lib/functions/uci-defaults.sh
14 ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" "eth0 eth2"
17 ucidef_set_interfaces_lan_wan "eth1 eth2 eth3 eth4 eth5" "eth0"
20 ucidef_set_interfaces_lan_wan "eth0 eth1 eth3 eth4 eth5 eth6 eth7 eth8" "eth2"
22 marvell,armada8040-mcbin-doubleshot|\
23 marvell,armada8040-mcbin-singleshot)
24 ucidef_set_interfaces_lan_wan "eth0 eth1 eth3" "eth2"
26 marvell,armada8040-db)
27 ucidef_set_interfaces_lan_wan "eth0 eth2 eth3" "eth1"
29 marvell,armada7040-db)
30 ucidef_set_interfaces_lan_wan "eth0 eth2" "eth1"
32 marvell,armada8040-clearfog-gt-8k)
33 ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 eth2" "eth0 eth1"
36 ucidef_set_interface_lan "eth0"