ath79: fix leds and network for TP-Link TL-WR841 v9/v11

Adding tl-wr841-v11 and the rename of tl-wr841n-v9 to tl-wr841-v9 in 01_leds
and 02_network script files are missing in commits cc35c91 and 8db6522.

Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
[merged with identical case in 02_network]
Signed-off-by: Mathias Kresin <dev@kresin.me>
master
Johann Neuhauser 6 years ago committed by Mathias Kresin
parent 3f09adaa55
commit 94ee5e3d1d
  1. 3
      target/linux/ath79/base-files/etc/board.d/01_leds
  2. 9
      target/linux/ath79/base-files/etc/board.d/02_network

@ -80,7 +80,8 @@ tplink,tl-wr741nd-v4)
ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10" ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02" ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
;; ;;
tplink,tl-wr841n-v9) tplink,tl-wr841-v9|\
tplink,tl-wr841-v11)
ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0" ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0"
ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10" ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08" ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"

@ -125,12 +125,9 @@ ath79_setup_interfaces()
"0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan"
;; ;;
tplink,tl-wr740nd-v4|\ tplink,tl-wr740nd-v4|\
tplink,tl-wr741nd-v4) tplink,tl-wr741nd-v4|\
ucidef_set_interface_wan "eth0" tplink,tl-wr841-v9|\
ucidef_add_switch "switch0" \ tplink,tl-wr841-v11)
"0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
;;
tplink,tl-wr841n-v9)
ucidef_set_interface_wan "eth0" ucidef_set_interface_wan "eth0"
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"

Loading…
Cancel
Save