summaryrefslogtreecommitdiff
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
commit76330e9b579c2d8a1e76b86437fef95a3a96f6c5 (patch)
tree07144f4f33c997879acfcf1d6f8fb88211228e9c
parentc64fdadea7292bf117668bfe5d254f7c6eeeb62e (diff)
downloadmtk-20170518-76330e9b579c2d8a1e76b86437fef95a3a96f6c5.zip
mtk-20170518-76330e9b579c2d8a1e76b86437fef95a3a96f6c5.tar.gz
mtk-20170518-76330e9b579c2d8a1e76b86437fef95a3a96f6c5.tar.bz2
mvebu: better integrate xp-gp
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 45459
-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 73a3d8a..d1ead03 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 ac6d148..3edfa6b 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"