projects
/
openwrt
/
staging
/
svanheule.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d4069f
)
ar71xx: fix netgear wndr3700 v1/v2, wndr3800/wndr3800ch switch port mapping
author
Qian Zheng
<sotux82@gmail.com>
Thu, 12 Jan 2017 01:39:55 +0000
(09:39 +0800)
committer
Jo-Philipp Wich
<jo@mein.io>
Thu, 26 Jan 2017 10:38:20 +0000
(11:38 +0100)
Signed-off-by: Qian Zheng <sotux82@gmail.com>
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 e934abaa1dca57c71d2d4c90d34270f5477a1524..551871e0fe1853a322826e7684e5901fcdd3c095 100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/
target/linux/ar71xx/base-files/etc/board.d/02_network
@@
-418,10
+418,13
@@
ar71xx_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "2:lan" "3:wan"
;;
- wndr3700)
+ wndr3700|\
+ wndr3700v2|\
+ wndr3800|\
+ wndr3800ch)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" \
- "0:lan
" "1:lan" "2:lan" "3:lan
" "5@eth0"
+ "0:lan
:4" "1:lan:3" "2:lan:2" "3:lan:1
" "5@eth0"
ucidef_add_switch_attr "switch0" "blinkrate" 2
ucidef_add_switch_port_attr "switch0" 1 led 6