2
0
forked from Ivasoft/openwrt

ramips: Improve TP-Link Archer C20i support

Improve / finalise TP-Link Archer C20i support.

Signed-off-by: P.Wassi <p.wassi@gmx.at>
This commit is contained in:
P.Wassi
2016-07-26 06:44:19 +02:00
committed by John Crispin
parent d4abe72cce
commit dbf107cd2b
4 changed files with 49 additions and 5 deletions

View File

@@ -78,6 +78,12 @@ broadway)
set_usb_led "$board:red:diskmounted"
set_wifi_led "$board:red:wps_active"
;;
c20i)
ucidef_set_led_switch "lan" "lan" "$board:blue:lan" "switch0" "0x1e"
ucidef_set_led_switch "wan" "wan" "$board:blue:wan" "switch0" "0x01"
set_usb_led "$board:blue:usb" "2-1"
ucidef_set_led_wlan "wlan" "wlan" "$board:blue:wlan" "phy0radio"
;;
c50)
ucidef_set_led_default "power" "power" "tp-link:blue:power" "0"
ucidef_set_led_netdev "lan" "lan" "tp-link:blue:lan" "eth0.2"

View File

@@ -114,6 +114,7 @@ ramips_setup_interfaces()
atp-52b|\
awm002-evb|\
awm003-evb|\
c20i|\
c50|\
dir-645|\
dir-860l-b1|\