Author: blogic
Date: 2015-01-28 13:06:13 +0100 (Wed, 28 Jan 2015)
New Revision: 44165

Modified:
   trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
Log:
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 <[email protected]>

Modified: trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds       
2015-01-28 12:06:05 UTC (rev 44164)
+++ trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds       
2015-01-28 12:06:13 UTC (rev 44165)
@@ -130,6 +130,11 @@
        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"
        ;;
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to