ramips: add port index in switch config for buffalo WHR-* and WSR-* devices

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-11-14 20:04:36 +01:00
parent 1a1c3c690f
commit 3d0e965c8b

View File

@ -87,13 +87,9 @@ ramips_setup_interfaces()
sk-wb8|\ sk-wb8|\
vr500|\ vr500|\
wf-2881|\ wf-2881|\
whr-300hp2|\
whr-600d|\
witi|\ witi|\
wl-wn575a3|\ wl-wn575a3|\
wndr3700v5|\ wndr3700v5|\
wsr-1166|\
wsr-600|\
wt1520|\ wt1520|\
y1|\ y1|\
youku-yk1|\ youku-yk1|\
@ -105,6 +101,13 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0" "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|\ ar670w|\
ar725w|\ ar725w|\
rt-n15|\ rt-n15|\