aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2021-06-03 22:37:49 -0600
committerHauke Mehrtens <hauke@hauke-m.de>2021-06-06 00:26:13 +0200
commit6fb27e8e6d05ed426f200242fdc1710f6f849127 (patch)
treeb501d208f6e25ed41b8f1fbbb71e691d96a0be1e /target/linux/ipq806x
parente34cc5eb377ce94a8e1717546a4e156a9bd4984b (diff)
downloadupstream-6fb27e8e6d05ed426f200242fdc1710f6f849127.tar.gz
upstream-6fb27e8e6d05ed426f200242fdc1710f6f849127.tar.bz2
upstream-6fb27e8e6d05ed426f200242fdc1710f6f849127.zip
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@gmail.com>
Diffstat (limited to 'target/linux/ipq806x')
-rw-r--r--target/linux/ipq806x/base-files/etc/board.d/02_network5
1 files changed, 4 insertions, 1 deletions
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 22d607b0ec..1a1cec51aa 100644
--- a/target/linux/ipq806x/base-files/etc/board.d/02_network
+++ b/target/linux/ipq806x/base-files/etc/board.d/02_network
@@ -57,7 +57,6 @@ nec,wg2600hp3)
"2:lan" "3:lan" "4:lan" "5:lan" "0@eth1" "1:wan" "6@eth0"
;;
netgear,r7800 |\
-tplink,ad7200 |\
tplink,c2600)
ucidef_add_switch "switch0" \
"1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "6@eth1" "5:wan" "0@eth0"
@@ -72,6 +71,10 @@ qcom,ipq8064-db149)
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "6u@eth1" "5:wan" "0u@eth0"
;;
+tplink,ad7200)
+ ucidef_add_switch "switch0" \
+ "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "6@eth1" "1:wan" "0@eth0"
+ ;;
ubnt,unifi-ac-hd)
ucidef_set_interface_lan "eth0 eth1"
;;