aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2015-04-16 13:53:57 +0000
committerLuka Perkov <luka@openwrt.org>2015-04-16 13:53:57 +0000
commit1d682d38f833cba62eaca9ec7a45f39cb92c6646 (patch)
tree2b42db2d6c278f0a89d7f57ac534639176a8c626
parent8331de537d3a3b1e50d1fbd8f8bae846d02aefcd (diff)
downloadmaster-187ad058-1d682d38f833cba62eaca9ec7a45f39cb92c6646.tar.gz
master-187ad058-1d682d38f833cba62eaca9ec7a45f39cb92c6646.tar.bz2
master-187ad058-1d682d38f833cba62eaca9ec7a45f39cb92c6646.zip
mvebu: better integrate xp-gp
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45459 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/mvebu/base-files/etc/uci-defaults/02_network3
-rwxr-xr-xtarget/linux/mvebu/base-files/lib/mvebu.sh3
2 files changed, 6 insertions, 0 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 73a3d8a1ac..d1ead03b00 100644
--- a/target/linux/mvebu/base-files/etc/uci-defaults/02_network
+++ b/target/linux/mvebu/base-files/etc/uci-defaults/02_network
@@ -30,6 +30,9 @@ armada-xp-linksys-mamba)
armada-385-db-ap)
ucidef_set_interfaces_lan_wan "eth0 eth1" "eth2"
;;
+armada-xp-gp)
+ ucidef_set_interface_lan "eth0 eth1 eth2 eth3"
+ ;;
*)
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 ac6d148476..3edfa6bbb4 100755
--- a/target/linux/mvebu/base-files/lib/mvebu.sh
+++ b/target/linux/mvebu/base-files/lib/mvebu.sh
@@ -43,6 +43,9 @@ mvebu_board_detect() {
*"Marvell Armada 385 Access Point Development Board")
name="armada-385-db-ap"
;;
+ *"Marvell Armada XP Development Board DB-MV784MP-GP")
+ name="armada-xp-gp"
+ ;;
esac
[ -z "$name" ] && name="unknown"