aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGad Krumholz <gad.krumholz@gmail.com>2016-11-27 00:52:53 -0600
committerGad Krumholz <gad.krumholz@gmail.com>2016-11-30 00:48:49 -0600
commit4492f32c7932a868fd4d232b24cd48427865d7ed (patch)
treec133f5978ecf93e89d7720339e8d41a59f3f3154 /target/linux/ar71xx/base-files
parentfee8b58d42c5b155d91929a2148033eac0b26018 (diff)
downloadmaster-187ad058-4492f32c7932a868fd4d232b24cd48427865d7ed.tar.gz
master-187ad058-4492f32c7932a868fd4d232b24cd48427865d7ed.tar.bz2
master-187ad058-4492f32c7932a868fd4d232b24cd48427865d7ed.zip
ar71xx: Added missing support for Linksys E2100L
It's based on the WRT160NL according to https://wiki.openwrt.org/toh/linksys/e2100l Based on research done here: https://forum.openwrt.org/viewtopic.php?id=24244 and here: https://forum.openwrt.org/viewtopic.php?pid=120791#p120791 this patch was conceived. Signed-off-by: Gad Krumholz <gad.krumholz@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
3 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index c5c9df32be..e5cc078eb9 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -420,6 +420,9 @@ get_status_led() {
wrt400n)
status_led="wrt400n:blue:wps"
;;
+ e2100l)
+ status_led="e2100l:blue:wps"
+ ;;
wrt160nl)
status_led="wrt160nl:blue:wps"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 4f8ecf8fa8..1e9da4d01a 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -1055,6 +1055,9 @@ ar71xx_board_detect() {
*WRT160NL)
name="wrt160nl"
;;
+ *E2100L)
+ name="e2100l"
+ ;;
*WRT400N)
name="wrt400n"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index f7c8c7e143..0502ed7a2b 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -295,6 +295,7 @@ platform_check_image() {
;;
mynet-rext|\
+ e2100l|\
wrt160nl)
cybertan_check_image "$1" && return 0
return 1