From 4492f32c7932a868fd4d232b24cd48427865d7ed Mon Sep 17 00:00:00 2001 From: Gad Krumholz Date: Sun, 27 Nov 2016 00:52:53 -0600 Subject: 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 --- target/linux/ar71xx/base-files/etc/diag.sh | 3 +++ target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 + 3 files changed, 7 insertions(+) (limited to 'target/linux/ar71xx/base-files') 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 -- cgit v1.2.3