projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e1b4c5
)
ar71xx: fix TL-WR1043N v5 port mapping
author
John Crispin
<john@phrozen.org>
Mon, 30 Jul 2018 15:47:06 +0000
(17:47 +0200)
committer
John Crispin
<john@phrozen.org>
Mon, 30 Jul 2018 15:47:06 +0000
(17:47 +0200)
fixes
5660c8fb20
("ar71xx: TL-WR1043N v5: fix mapping of LAN ports to labels on housing.")
Signed-off-by: John Crispin <john@phrozen.org>
target/linux/ar71xx/base-files/etc/board.d/02_network
patch
|
blob
|
history
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 86f794dc0011864fee15d5a0f7957290769a957f..ad1cab359401a507f638631189a711d857b7df52 100755
(executable)
--- 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"