diff options
author | Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> | 2017-09-03 19:41:42 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-09-05 08:43:39 +0200 |
commit | 3c97bad0c2898949bc98a19f376783a7e4de0146 (patch) | |
tree | cc6aab302ec96bc21163312817af682fa5cfd2a1 /target/linux/ar71xx/base-files/etc | |
parent | 5117911d91c0d047971f592086dc6b9be65b5103 (diff) | |
download | mtk-20170518-3c97bad0c2898949bc98a19f376783a7e4de0146.zip mtk-20170518-3c97bad0c2898949bc98a19f376783a7e4de0146.tar.gz mtk-20170518-3c97bad0c2898949bc98a19f376783a7e4de0146.tar.bz2 |
ar71xx: WNDR4300: use the switch LED trigger on the WAN port
The WAN port on the Netgear WNDR4300 router has two LEDs,
amber and green. Use the switch LED trigger to behave as the
rest of the LAN HW controlled LEDs
- Green: 1 Gbps
- Amber: 100/10 Mbps
Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index 84b1a7d..4132e91 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -823,7 +823,8 @@ r6100) ;; wndr3700v4|\ wndr4300) - ucidef_set_led_netdev "wan" "WAN (green)" "netgear:green:wan" "eth0.2" + ucidef_set_led_switch "wan-green" "WAN (green)" "netgear:green:wan" "switch0" "0x20" "0x08" + ucidef_set_led_switch "wan-amber" "WAN (amber)" "netgear:amber:wan" "switch0" "0x20" "0x06" ucidef_set_led_usbdev "usb" "USB" "netgear:green:usb" "1-1" ucidef_set_led_wlan "wlan2g" "WLAN2G" "netgear:green:wlan2g" "phy0tpt" ucidef_set_led_wlan "wlan5g" "WLAN5G" "netgear:blue:wlan5g" "phy1tpt" |