diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-01-31 18:37:09 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-01-31 18:37:09 +0000 |
commit | 65ca4389f1ce0f91f4a58d0b8a47e273172656a0 (patch) | |
tree | d71c5c4cc477c2a3dd0e3e16e4b161aeaa83e406 /target/linux/ar71xx/base-files/etc/uci-defaults/leds | |
parent | 4bc970ba4f3defb084750172ceea809890e075ba (diff) |
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 <vadimgirlin@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29973 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/leds')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/leds | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds index d9613930d..c33510af4 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds @@ -118,6 +118,14 @@ rb750) set_led_switch "port5" "port5" "rb750:green:port5" "switch0" "0x02" ;; +dir-615-e4) + set_led_netdev "wan" "WAN" "dir-615-e4:green:wan" "eth1" + set_led_switch "lan1" "LAN1" "dir-615-e4:green:lan1" "switch0" "0x02" + set_led_switch "lan2" "LAN2" "dir-615-e4:green:lan2" "switch0" "0x04" + set_led_switch "lan3" "LAN3" "dir-615-e4:green:lan3" "switch0" "0x08" + set_led_switch "lan4" "LAN4" "dir-615-e4:green:lan4" "switch0" "0x10" + ;; + dir-825-b1) set_led_usbdev "usb" "USB" "dir825b1:blue:usb" "1-1" ;; |