aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-12-12 16:17:31 +0000
committerJohn Crispin <blogic@openwrt.org>2014-12-12 16:17:31 +0000
commitbf6a13069b2d3d68a2ba7013a09ad34e5b3d05a5 (patch)
tree5b4f0d125f2f885af31a6df390c34520431699a5 /target/linux/ramips
parent73f1a65e18f9c06215d38160330197073d89cd00 (diff)
downloadmaster-187ad058-bf6a13069b2d3d68a2ba7013a09ad34e5b3d05a5.tar.gz
master-187ad058-bf6a13069b2d3d68a2ba7013a09ad34e5b3d05a5.tar.bz2
master-187ad058-bf6a13069b2d3d68a2ba7013a09ad34e5b3d05a5.zip
ralink: fix lenovo y1 wan port mapping
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43667 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-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 45720c3ab5..b519cfdd3c 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"