0013-ar71xx-add-default-LED-configuration-for-D-Link-DIR-615-rev.-C1.patch 942 B

12345678910111213141516171819202122232425
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Wed, 28 Jan 2015 15:02:54 +0100
  3. Subject: ar71xx: add default LED configuration for D-Link DIR-615 rev. C1
  4. This patch adds an entry in the uci-defaults' led-file to configure the
  5. WAN and WLAN LEDs by default.
  6. Signed-off-by: Vincent Wiemann <me@bibbl.com>
  7. diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
  8. index 2676b48..ee90c52 100755
  9. --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
  10. +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
  11. @@ -122,6 +122,11 @@ dir-615-e4)
  12. ucidef_set_led_switch "lan4" "LAN4" "d-link:green:lan4" "switch0" "0x10"
  13. ;;
  14. +dir-615-c1)
  15. + ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth1"
  16. + ucidef_set_led_wlan "wlan" "WLAN" "d-link:green:wlan" "phy0tpt"
  17. + ;;
  18. +
  19. dir-825-b1)
  20. ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
  21. ;;