summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-12-12 16:17:31 +0000
committerJohn Crispin <john@openwrt.org>2014-12-12 16:17:31 +0000
commit6c4e7b22eb0f564f539dc0951c394b38b60ff381 (patch)
tree1d1159843ea8357d2742862b6f52a30f6ac0d55c /target/linux/ramips/base-files
parentd64e4392dfd67bbdd9c639070d9084db268060d7 (diff)
downloadmtk-20170518-6c4e7b22eb0f564f539dc0951c394b38b60ff381.zip
mtk-20170518-6c4e7b22eb0f564f539dc0951c394b38b60ff381.tar.gz
mtk-20170518-6c4e7b22eb0f564f539dc0951c394b38b60ff381.tar.bz2
ralink: fix lenovo y1 wan port mapping
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43667
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network4
1 files changed, 2 insertions, 2 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 45720c3..b519cfd 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -123,7 +123,8 @@ ramips_setup_interfaces()
whr-600d | \
wsr-600 | \
wsr-1166 | \
- wt1520)
+ wt1520 | \
+ y1)
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"
@@ -212,7 +213,6 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch0" "2" "4 6t"
;;
- y1 |\
y1s)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"