aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-01-28 12:06:13 +0000
committerJohn Crispin <blogic@openwrt.org>2015-01-28 12:06:13 +0000
commit27fe727852549ecdc9755990826a08a01ecc3522 (patch)
treeb1b33ebc2940d1039e6a7cdb43bfdfd41a736d03 /target/linux/ar71xx/base-files
parentb8d8323da6354e225bd9023e3d639b71af1d7da3 (diff)
downloadupstream-27fe727852549ecdc9755990826a08a01ecc3522.tar.gz
upstream-27fe727852549ecdc9755990826a08a01ecc3522.tar.bz2
upstream-27fe727852549ecdc9755990826a08a01ecc3522.zip
ar71xx: add default LED configuration for D-Link DIR-615 rev. C1
This patch adds an entry in the uci-defaults' led-file to configure the WAN and WLAN LEDs by default. Signed-off-by: Vincent Wiemann <me@bibbl.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44165 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index bfd9495d43..d1da572e72 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -130,6 +130,11 @@ dir-615-e4)
ucidef_set_led_switch "lan4" "LAN4" "d-link:green:lan4" "switch0" "0x10"
;;
+dir-615-c1)
+ ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth1"
+ ucidef_set_led_wlan "wlan" "WLAN" "d-link:green:wlan" "phy0tpt"
+ ;;
+
dir-825-b1)
ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
;;