aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-07-13 19:43:58 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-07-13 19:43:58 +0000
commit2d8fd186a8c9b3f19dcbe3348a6c76aeba17b447 (patch)
tree91746cbbef83a8bfa5c512b6ce1f004b517a196d /target/linux/ar71xx/base-files/etc
parentcbb52f38d7216973f5b81b368bf50771d8c43854 (diff)
downloadupstream-2d8fd186a8c9b3f19dcbe3348a6c76aeba17b447.tar.gz
upstream-2d8fd186a8c9b3f19dcbe3348a6c76aeba17b447.tar.bz2
upstream-2d8fd186a8c9b3f19dcbe3348a6c76aeba17b447.zip
ar71xx: add user-space support for EnGenius ESR1750
Signed-off-by: Jon Suphammer <jon@suphammer.net> Patchwork: http://patchwork.openwrt.org/patch/5840/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41625 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network7
2 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index c689e7038c..32b82dd7d8 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -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"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index 63422daa30..5416599f2a 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -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"