aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/base-files
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
commite568b3d4ff8e10cb7fa0c1726feedd42e21ea9a5 (patch)
tree676bf1d7eea1519b38a35d2acdd45bd7e3193c05 /target/linux/imx6/base-files
parent40cdcb8881ebdd64a6fe8cc4e5ea6a972d5b899f (diff)
downloadupstream-e568b3d4ff8e10cb7fa0c1726feedd42e21ea9a5.tar.gz
upstream-e568b3d4ff8e10cb7fa0c1726feedd42e21ea9a5.tar.bz2
upstream-e568b3d4ff8e10cb7fa0c1726feedd42e21ea9a5.zip
imx6: update network defaults for Gateworks Ventana
Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38079 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/imx6/base-files')
-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'
;;