aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2018-07-30 17:47:06 +0200
committerJohn Crispin <john@phrozen.org>2018-07-30 17:47:06 +0200
commiteddf4eae9777bf7328ece08451752abeab315919 (patch)
treedeadd4f0cc358b1cd6559956356471e2df4a5c07
parent5e1b4c57ded7898be5255aef594fa18ec206f0b2 (diff)
downloadupstream-eddf4eae9777bf7328ece08451752abeab315919.tar.gz
upstream-eddf4eae9777bf7328ece08451752abeab315919.tar.bz2
upstream-eddf4eae9777bf7328ece08451752abeab315919.zip
ar71xx: fix TL-WR1043N v5 port mapping
fixes 5660c8fb20 ("ar71xx: TL-WR1043N v5: fix mapping of LAN ports to labels on housing.") Signed-off-by: John Crispin <john@phrozen.org>
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 86f794dc00..ad1cab3594 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -308,7 +308,10 @@ ar71xx_setup_interfaces()
dir-835-a1|\
esr900|\
mynet-n750|\
- sr3200|\
+ sr3200)
+ ucidef_add_switch "switch0" \
+ "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
+ ;;
tl-wr1043n-v5)
ucidef_add_switch "switch0" \
"0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan"