forked from Ivasoft/openwrt
ath79: fix support for TL-WR740N/WR741N v4
1. Swap eth0/eth1 Both devices are using AR9331, the builtin switch on AR9331 is connected to gmac1 and gmac1 is named as eth1 in ath79. PS: gmac1 is eth0 and gmac0 is eth1 in ar71xx because of the reversed initialization order. 2. Fix the incorrect compatible string in dts Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
committed by
Mathias Kresin
parent
115e993adc
commit
690c55e8cc
@@ -85,9 +85,9 @@ ath79_setup_interfaces()
|
||||
|
||||
"tplink,tl-wr741nd-v4"|\
|
||||
"tplink,tl-wr740nd-v4")
|
||||
ucidef_set_interfaces_wan "eth1"
|
||||
ucidef_set_interfaces_wan "eth0"
|
||||
ucidef_add_switch "switch0" \
|
||||
"0@eth0" "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"
|
||||
;;
|
||||
"tplink,tl-wr841n-v9")
|
||||
ucidef_set_interface_wan "eth0"
|
||||
|
||||
Reference in New Issue
Block a user