Author: juhosg
Date: 2014-07-13 21:43:58 +0200 (Sun, 13 Jul 2014)
New Revision: 41625

Modified:
   trunk/target/linux/ar71xx/base-files/etc/diag.sh
   trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
   trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh
   trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
Log:
ar71xx: add user-space support for EnGenius ESR1750

Signed-off-by: Jon Suphammer <[email protected]>
Patchwork: http://patchwork.openwrt.org/patch/5840/
Signed-off-by: Gabor Juhos <[email protected]>

Modified: trunk/target/linux/ar71xx/base-files/etc/diag.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/diag.sh    2014-07-13 19:43:57 UTC 
(rev 41624)
+++ trunk/target/linux/ar71xx/base-files/etc/diag.sh    2014-07-13 19:43:58 UTC 
(rev 41625)
@@ -72,6 +72,9 @@
        gl-inet)
                status_led="gl-connect:green:lan"
                ;;
+       esr1750)
+               status_led="esr1750:amber:power"
+               ;;
        hiwifi-hc6361)
                status_led="hiwifi:blue:system"
                ;;

Modified: trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network    
2014-07-13 19:43:57 UTC (rev 41624)
+++ trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network    
2014-07-13 19:43:58 UTC (rev 41625)
@@ -30,6 +30,13 @@
        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"

Modified: trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  2014-07-13 19:43:57 UTC 
(rev 41624)
+++ trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  2014-07-13 19:43:58 UTC 
(rev 41625)
@@ -325,6 +325,9 @@
        *"GL-CONNECT INET v1")
                name="gl-inet"
                ;;
+       *"EnGenius ESR1750")
+               name="esr1750"
+               ;;
        *JA76PF)
                name="ja76pf"
                ;;

Modified: trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh        
2014-07-13 19:43:57 UTC (rev 41624)
+++ trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh        
2014-07-13 19:43:58 UTC (rev 41625)
@@ -151,6 +151,7 @@
        dir-825-c1 | \
        dir-835-a1 | \
        dragino2 | \
+       esr1750 | \
        ew-dorin | \
        ew-dorin-router | \
        hiwifi-hc6361 | \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to