aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/base-files
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2015-04-15 16:23:10 +0000
committerLuka Perkov <luka@openwrt.org>2015-04-15 16:23:10 +0000
commitc802282317971a93247e09863131f5a9d0cac3ac (patch)
tree6b57ec4c59840e2fe4ea53107cec84c1d6fca981 /target/linux/mvebu/base-files
parent08c43383e7c9333bdf796862c7f49efbcbbdde01 (diff)
downloadupstream-c802282317971a93247e09863131f5a9d0cac3ac.tar.gz
upstream-c802282317971a93247e09863131f5a9d0cac3ac.tar.bz2
upstream-c802282317971a93247e09863131f5a9d0cac3ac.zip
mvebu: better integrate 385-ap-db
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45452 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mvebu/base-files')
-rw-r--r--target/linux/mvebu/base-files/etc/uci-defaults/02_network4
-rwxr-xr-xtarget/linux/mvebu/base-files/lib/mvebu.sh5
2 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/mvebu/base-files/etc/uci-defaults/02_network b/target/linux/mvebu/base-files/etc/uci-defaults/02_network
index 93dc515094..75b0af79f6 100644
--- a/target/linux/mvebu/base-files/etc/uci-defaults/02_network
+++ b/target/linux/mvebu/base-files/etc/uci-defaults/02_network
@@ -21,7 +21,9 @@ armada-xp-linksys-mamba)
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5"
ucidef_add_switch_vlan "switch0" "2" "4 6"
;;
-
+armada-385-db-ap)
+ ucidef_set_interfaces_lan_wan "eth0 eth1" "eth2"
+ ;;
*)
ucidef_set_interface_lan "eth0"
;;
diff --git a/target/linux/mvebu/base-files/lib/mvebu.sh b/target/linux/mvebu/base-files/lib/mvebu.sh
index 3d50196bff..6182d7af60 100755
--- a/target/linux/mvebu/base-files/lib/mvebu.sh
+++ b/target/linux/mvebu/base-files/lib/mvebu.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright (C) 2013 OpenWrt.org
+# Copyright (C) 2013-2015 OpenWrt.org
#
MVEBU_BOARD_NAME=
@@ -34,6 +34,9 @@ mvebu_board_detect() {
*"Linksys WRT1900AC")
name="armada-xp-linksys-mamba"
;;
+ *"Marvell Armada 385 Access Point Development Board")
+ name="armada-385-db-ap"
+ ;;
esac
[ -z "$name" ] && name="unknown"