From faeca86e50f8a8c6ee6fa735f538bd4b586b11c0 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Tue, 31 Jan 2012 18:37:09 +0000 Subject: ar71xx: support for D-LINK DIR-615 rev. E4 This patch adds support for D-LINK DIR-615 E4 board. It's mostly based on the existing support for DIR-600 A1, with some changes in the leds configuration. It's an updated version of the patch that reliably works on my hw for about a year (it was built from trunk on Jan 2011). When I decided to update the firmware and checked for the current support for that device, I also found previously posted patches by Alexey Loukianov that mentioned some stability issues. I'm not sure where could be the difference, the patches are very similar except the wmac led pin number - I was using 1, and those patches used 17. [juhosg: add 3.2 support] Signed-off-by: Vadim Girlin SVN-Revision: 29973 --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 + 2 files changed, 4 insertions(+) (limited to 'target/linux/ar71xx/base-files/lib') diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 9f117225f1..82b53f1617 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -166,6 +166,9 @@ ar71xx_board_detect() { *"DIR-600 rev. A1") name="dir-600-a1" ;; + *"DIR-615 rev. E4") + name="dir-615-e4" + ;; *"DIR-825 rev. B1") name="dir-825-b1" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 49df3c3966..3adfcd58b3 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -97,6 +97,7 @@ platform_check_image() { ap83 | \ dir-600-a1 | \ dir-615-c1 | \ + dir-615-e4 | \ dir-825-b1 | \ mzk-w04nu | \ mzk-w300nh | \ -- cgit v1.2.3