aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-09-20 01:59:30 +0000
committerLuka Perkov <luka@openwrt.org>2013-09-20 01:59:30 +0000
commit19bd25f4ecd20066554eb0c4df4cbff0213a9ae5 (patch)
tree1dcb8d96f7493eb299d7071a119e4cab9420f61e /target/linux/imx6
parentcd1257ee0c7fa464225306e482989a5fa0996003 (diff)
downloadupstream-19bd25f4ecd20066554eb0c4df4cbff0213a9ae5.tar.gz
upstream-19bd25f4ecd20066554eb0c4df4cbff0213a9ae5.tar.bz2
upstream-19bd25f4ecd20066554eb0c4df4cbff0213a9ae5.zip
imx6: update network defaults for Gateworks Ventana
Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38079
Diffstat (limited to 'target/linux/imx6')
-rw-r--r--target/linux/imx6/base-files/etc/uci-defaults/02_network8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/imx6/base-files/etc/uci-defaults/02_network b/target/linux/imx6/base-files/etc/uci-defaults/02_network
index 96e4da8cb1..e115a9e954 100644
--- a/target/linux/imx6/base-files/etc/uci-defaults/02_network
+++ b/target/linux/imx6/base-files/etc/uci-defaults/02_network
@@ -14,9 +14,15 @@ ucidef_set_interface_loopback
board=$(cat /proc/device-tree/model)
case "$board" in
-"Gateworks Ventana GW5400-A")
+"Gateworks Ventana GW51XX" |\
+"Gateworks Ventana GW52XX")
ucidef_set_interface_lan 'eth0'
;;
+"Gateworks Ventana GW53XX" |\
+"Gateworks Ventana GW54XX" |\
+"Gateworks Ventana GW5400-A")
+ ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
+ ;;
"Wandboard i.MX6 Dual Lite Board")
ucidef_set_interface_wan 'eth0'
;;