diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-11-14 20:04:36 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-11-14 20:04:36 +0100 |
commit | 3d0e965c8b7346f06d840135798c37ea03277e17 (patch) | |
tree | 412ab597b30e846b562349fd72be4fded184257f /target/linux/ramips | |
parent | 1a1c3c690f6411fec0e91bfbdcf28a012a3e0f4e (diff) | |
download | upstream-3d0e965c8b7346f06d840135798c37ea03277e17.tar.gz upstream-3d0e965c8b7346f06d840135798c37ea03277e17.tar.bz2 upstream-3d0e965c8b7346f06d840135798c37ea03277e17.zip |
ramips: add port index in switch config for buffalo WHR-* and WSR-* devices
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 11 |
1 files changed, 7 insertions, 4 deletions
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 ecdae638f5..e2a2f94300 100755 --- 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|\ |