mvebu: better integrate xp-gp
authorLuka Perkov <luka@openwrt.org>
Thu, 16 Apr 2015 13:53:57 +0000 (13:53 +0000)
committerLuka Perkov <luka@openwrt.org>
Thu, 16 Apr 2015 13:53:57 +0000 (13:53 +0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 45459

target/linux/mvebu/base-files/etc/uci-defaults/02_network
target/linux/mvebu/base-files/lib/mvebu.sh

index 73a3d8a1accd2360b0e8eee750a999fcb9ffc306..d1ead03b00caeccecdbc5d2e2c0f7ecee23f3ac8 100644 (file)
@@ -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"
        ;;
index ac6d14847648b5826ea4d53cb9eaae37d39d7b34..3edfa6bbb422006a5ee818c9dba0721bd189dbb0 100755 (executable)
@@ -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"