aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-11-03 20:20:40 +0000
committerJohn Crispin <john@openwrt.org>2014-11-03 20:20:40 +0000
commitcc142739f2a6d447ab107fb3d12293fe8a76b8fc (patch)
tree8ea963dea7c7e85d8972380b5143112355343a88 /target/linux/ramips/base-files
parent6d1d02eefbd12a0b6f0c5fd792f7c60a6d58bb94 (diff)
downloadupstream-cc142739f2a6d447ab107fb3d12293fe8a76b8fc.tar.gz
upstream-cc142739f2a6d447ab107fb3d12293fe8a76b8fc.tar.bz2
upstream-cc142739f2a6d447ab107fb3d12293fe8a76b8fc.zip
ralink: fix wan port on whr-1166
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43171
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network7
1 files changed, 6 insertions, 1 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 cedcb8bdcd..52e27c5321 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -119,13 +119,18 @@ ramips_setup_interfaces()
mzk-750dhp | \
whr-300hp2 | \
whr-600d | \
- whr-1166d | \
wt1520)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 6t"
ucidef_add_switch_vlan "switch0" "2" "4 6t"
;;
+ whr-1166d)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 6t"
+ ucidef_add_switch_vlan "switch0" "2" "5 6t"
+ ;;
awm002-evb | \
awm003-evb | \