From d9740d24d767d583da08eeaa8bd7a01288fdc554 Mon Sep 17 00:00:00 2001 From: Gad Krumholz Date: Sun, 27 Nov 2016 00:52:53 -0600 Subject: CC: 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 486879f512..623e2a43b5 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -358,6 +358,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 a9dca58847..1eb6999908 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -932,6 +932,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 762cd760ce..fda7bc417c 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -270,6 +270,7 @@ platform_check_image() { ;; mynet-rext|\ + e2100l|\ wrt160nl) cybertan_check_image "$1" && return 0 return 1 -- cgit v1.2.3