aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-06-18 18:21:41 +0000
committerJohn Crispin <john@openwrt.org>2015-06-18 18:21:41 +0000
commit1f038e0678f3662d29b5ab9331070ff65f7e2366 (patch)
tree051274edca9e00a2204a60d79f05800b038abf4e /target/linux/ar71xx
parentbe755a99d6d628c65e9785fef41d66d714c1fd74 (diff)
downloadupstream-1f038e0678f3662d29b5ab9331070ff65f7e2366.tar.gz
upstream-1f038e0678f3662d29b5ab9331070ff65f7e2366.tar.bz2
upstream-1f038e0678f3662d29b5ab9331070ff65f7e2366.zip
ar71xx: add user-space support for EnGenius EPG5000.
Signed-off-by: Christian Beier <cb@shoutrlabs.com> SVN-Revision: 46048
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/02_network3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
4 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 4bdb53db93..c02efa8751 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -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"
;;
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 4fe951e3ca..2fab4c2133 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -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"
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 8f4bb409ff..00e39ae639 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -433,6 +433,9 @@ ar71xx_board_detect() {
name="gl-inet"
gl_inet_board_detect
;;
+ *"EnGenius EPG5000")
+ name="epg5000"
+ ;;
*"EnGenius ESR1750")
name="esr1750"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index ade47fb852..0f3ea9c218 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -208,6 +208,7 @@ platform_check_image() {
dir-825-c1 | \
dir-835-a1 | \
dragino2 | \
+ epg5000 | \
esr1750 | \
esr900 | \
ew-dorin | \