[openwrt/openwrt] ipq806x: fix LAN and WAN port assignments on TP-Link AD7200
LEDE Commits
lede-commits at lists.infradead.org
Tue Jun 8 12:58:13 PDT 2021
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/0753cd98537a0067907d46a0319dba42868df6d9
commit 0753cd98537a0067907d46a0319dba42868df6d9
Author: Alex Henrie <alexhenrie24 at gmail.com>
AuthorDate: Thu Jun 3 22:37:49 2021 -0600
ipq806x: fix LAN and WAN port assignments on TP-Link AD7200
LAN port 4 was swapped with the WAN port and the remaining three LAN
ports were numbered in reverse order from their labels on the case.
Fixes: 1a775a4fd033 ("ipq806x: add support for TP-Link Talon AD7200")
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
(cherry picked from commit 6fb27e8e6d05ed426f200242fdc1710f6f849127)
---
target/linux/ipq806x/base-files/etc/board.d/02_network | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/target/linux/ipq806x/base-files/etc/board.d/02_network b/target/linux/ipq806x/base-files/etc/board.d/02_network
index ddef4b7ac6..1e00b97092 100755
--- a/target/linux/ipq806x/base-files/etc/board.d/02_network
+++ b/target/linux/ipq806x/base-files/etc/board.d/02_network
@@ -51,7 +51,6 @@ nec,wg2600hp3)
"2:lan" "3:lan" "4:lan" "5:lan" "0 at eth1" "1:wan" "6 at eth0"
;;
netgear,r7800 |\
-tplink,ad7200 |\
tplink,c2600)
ucidef_add_switch "switch0" \
"1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "6 at eth1" "5:wan" "0 at eth0"
@@ -66,6 +65,10 @@ qcom,ipq8064-db149)
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "6u at eth1" "5:wan" "0u at eth0"
;;
+tplink,ad7200)
+ ucidef_add_switch "switch0" \
+ "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "6 at eth1" "1:wan" "0 at eth0"
+ ;;
ubnt,unifi-ac-hd)
ucidef_set_interface_lan "eth0 eth1"
;;
More information about the lede-commits
mailing list