forked from Ivasoft/openwrt
ath79: add TP-Link TL-WR710N v1
This commit adds support for TP-Link TL-WR710N v1 router. CPU: Atheros AR9331 400MHz RAM: 32MB FLASH: 8MiB PORTS: 1 Port 100/10 LAN (connected to a switch), 1 Port 100/10 WAN WiFi: Atheros AR9331 1x2:1 bgn USB: ChipIdea HDRC USB2.0 LED: SYS BTN: Reset Sysupgrade from `ar71xx` works without glitches. Network interfaces assigned for LAN and WAN ports are `eth1` and `eth0` respectively, what's consistent with `ar71xx` target. Wireless radio path is automatically upgraded from `platform/ar933x_wmac` to `platform/ahb/18100000.wmac`. Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
This commit is contained in:
committed by
Petr Štetiar
parent
8de907c441
commit
fcc716e21d
@@ -205,6 +205,11 @@ ath79_setup_interfaces()
|
||||
ucidef_add_switch "switch0" \
|
||||
"0@eth1" "1:lan" "2:lan" "3:lan" "4:lan"
|
||||
;;
|
||||
tplink,tl-wr710n-v1)
|
||||
ucidef_set_interface_wan "eth0"
|
||||
ucidef_add_switch "switch0" \
|
||||
"0@eth1" "3:lan"
|
||||
;;
|
||||
tplink,tl-wr740n-v4|\
|
||||
tplink,tl-wr741nd-v4|\
|
||||
tplink,tl-wr841-v8|\
|
||||
|
||||
@@ -14,6 +14,10 @@ migrate_wmac_path() {
|
||||
path="platform/ahb/ahb:apb/18100000.wmac"
|
||||
WMAC_PATH_CHANGED=1
|
||||
;;
|
||||
"platform/ar933x_wmac")
|
||||
path="platform/ahb/18100000.wmac"
|
||||
WMAC_PATH_CHANGED=1
|
||||
;;
|
||||
*)
|
||||
return 0
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user