mvebu: better integrate 385-ap-db
authorLuka Perkov <luka@openwrt.org>
Wed, 15 Apr 2015 16:23:10 +0000 (16:23 +0000)
committerLuka Perkov <luka@openwrt.org>
Wed, 15 Apr 2015 16:23:10 +0000 (16:23 +0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 45452

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

index 93dc51509410e105583d2adc64cccda14eb8cd1d..75b0af79f67b1b45da1b8c4b38157b05c1c68acc 100644 (file)
@@ -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"
        ;;
index 3d50196bff20cd1ec5ea7472b57a69f20c9d4a4d..6182d7af60504aed5a489a6ff661e67aa8101dc0 100755 (executable)
@@ -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"