projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: add support for TP-LINK TL-WR840N v2 and v3
[openwrt/staging/wigyori.git]
/
target
/
linux
/
ar71xx
/
base-files
/
etc
/
board.d
/
01_leds
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 fdbdddd2999ccd9c2cb6604e564a477ff3e56185..082b6c478ee891270b115f01979f82f9a68189c5 100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/
target/linux/ar71xx/base-files/etc/board.d/01_leds
@@
-692,6
+692,12
@@
tl-wr941nd-v6)
ucidef_set_led_switch "lan4" "LAN4" "tp-link:blue:lan4" "switch0" "0x02"
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:wlan" "phy0tpt"
;;
ucidef_set_led_switch "lan4" "LAN4" "tp-link:blue:lan4" "switch0" "0x02"
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:wlan" "phy0tpt"
;;
+tl-wr840n-v2|\
+tl-wr840n-v3)
+ ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
+ ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x1E"
+ ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
+ ;;
tl-wr841n-v9|\
tl-wr841n-v11|\
tl-wr842n-v3)
tl-wr841n-v9|\
tl-wr841n-v11|\
tl-wr842n-v3)