ar71xx: add user-space support for EnGenius ESR1750
authorGabor Juhos <juhosg@openwrt.org>
Sun, 13 Jul 2014 19:43:58 +0000 (19:43 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 13 Jul 2014 19:43:58 +0000 (19:43 +0000)
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41625

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 c689e7038ca479035ebabb39e550654959d6aff1..32b82dd7d8313f31b094b39df987424fb506a6e9 100755 (executable)
@@ -72,6 +72,9 @@ get_status_led() {
        gl-inet)
                status_led="gl-connect:green:lan"
                ;;
+       esr1750)
+               status_led="esr1750:amber:power"
+               ;;
        hiwifi-hc6361)
                status_led="hiwifi:blue:system"
                ;;
index 63422daa3019d498976ab5c0e32af600d6b3e999..5416599f2a2ef00cf593145c34c3fd7e60d0bffc 100755 (executable)
@@ -30,6 +30,13 @@ wlr8100)
        ucidef_add_switch_vlan "switch0" "2" "0t 1"
        ;;
 
+esr1750)
+       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"
+       ucidef_add_switch_vlan "switch0" "2" "0t 1"
+       ;;
+
 ap136-010)
        ucidef_set_interfaces_lan_wan "eth0" "eth1"
        ucidef_add_switch "switch0" "1" "1"
index f91215694430dc6d8ca229a163a51db23beab32f..b2ce50620a8a18560444968eeaddf6d1ec480f3c 100755 (executable)
@@ -325,6 +325,9 @@ ar71xx_board_detect() {
        *"GL-CONNECT INET v1")
                name="gl-inet"
                ;;
+       *"EnGenius ESR1750")
+               name="esr1750"
+               ;;
        *JA76PF)
                name="ja76pf"
                ;;
index e1116182883f8d6b1d5b43a1e85f8aec8b618048..30ea88821fe2294fd455e09632f41b52a44202be 100755 (executable)
@@ -151,6 +151,7 @@ platform_check_image() {
        dir-825-c1 | \
        dir-835-a1 | \
        dragino2 | \
+       esr1750 | \
        ew-dorin | \
        ew-dorin-router | \
        hiwifi-hc6361 | \