projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a1c3c6
)
ramips: add port index in switch config for buffalo WHR-* and WSR-* devices
author
Felix Fietkau
<nbd@nbd.name>
Mon, 14 Nov 2016 19:04:36 +0000
(20:04 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Mon, 14 Nov 2016 19:04:36 +0000
(20:04 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/ramips/base-files/etc/board.d/02_network
patch
|
blob
|
history
diff --git
a/target/linux/ramips/base-files/etc/board.d/02_network
b/target/linux/ramips/base-files/etc/board.d/02_network
index ecdae638f5c4e7ae6bd5d27d9f41fd21ca7ab8f0..e2a2f9430084f405beb5e2a4ecc238c1e42e00a5 100755
(executable)
--- a/
target/linux/ramips/base-files/etc/board.d/02_network
+++ b/
target/linux/ramips/base-files/etc/board.d/02_network
@@
-87,13
+87,9
@@
ramips_setup_interfaces()
sk-wb8|\
vr500|\
wf-2881|\
- whr-300hp2|\
- whr-600d|\
witi|\
wl-wn575a3|\
wndr3700v5|\
- wsr-1166|\
- wsr-600|\
wt1520|\
y1|\
youku-yk1|\
@@
-105,6
+101,13
@@
ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
;;
+ whr-300hp2|\
+ whr-600d|\
+ wsr-1166|\
+ wsr-600)
+ ucidef_add_switch "switch0" \
+ "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "4:wan:5" "6@eth0"
+ ;;
ar670w|\
ar725w|\
rt-n15|\