ar71xx: add user-space support for EnGenius EPG5000.
authorJohn Crispin <john@openwrt.org>
Thu, 18 Jun 2015 18:21:41 +0000 (18:21 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 18 Jun 2015 18:21:41 +0000 (18:21 +0000)
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
SVN-Revision: 46048

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/02_network
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index 4bdb53d..c02efa8 100644 (file)
@@ -92,6 +92,9 @@ get_status_led() {
        gl-inet)
                status_led="gl-connect:green:lan"
                ;;
+       epg5000)
+               status_led="epg5000:amber:power"
+               ;;
        esr1750)
                status_led="esr1750:amber:power"
                ;;
index 4fe951e..2fab4c2 100644 (file)
@@ -30,7 +30,8 @@ wlr8100)
        ucidef_add_switch_vlan "switch0" "2" "0t 1"
        ;;
 
-esr1750)
+esr1750 |\
+epg5000)
        ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
        ucidef_add_switch "switch0" "1" "1"
        ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
index 8f4bb40..00e39ae 100755 (executable)
@@ -433,6 +433,9 @@ ar71xx_board_detect() {
                name="gl-inet"
                gl_inet_board_detect
                ;;
+       *"EnGenius EPG5000")
+               name="epg5000"
+               ;;
        *"EnGenius ESR1750")
                name="esr1750"
                ;;
index ade47fb..0f3ea9c 100755 (executable)
@@ -208,6 +208,7 @@ platform_check_image() {
        dir-825-c1 | \
        dir-835-a1 | \
        dragino2 | \
+       epg5000 | \
        esr1750 | \
        esr900 | \
        ew-dorin | \