aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7620/base-files
diff options
context:
space:
mode:
authorShiji Yang <yangshiji66@qq.com>2021-03-21 17:01:49 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-03-27 16:54:15 +0100
commitb88d2850c66d7dc937e570661a047c647c588af5 (patch)
tree07119746a5ee3c17962638e2e5770f42119fa9cf /target/linux/ramips/mt7620/base-files
parent55be1c373424331487946a167fd219c9249a9302 (diff)
downloadupstream-b88d2850c66d7dc937e570661a047c647c588af5.tar.gz
upstream-b88d2850c66d7dc937e570661a047c647c588af5.tar.bz2
upstream-b88d2850c66d7dc937e570661a047c647c588af5.zip
ramips: correct switch config of Youku yk1
There are only two lan ports and one wan port on Youku yk1 Fixes: e9baf8265bb8 ("ramips: add support for Youku YK1") Signed-off-by: Shiji Yang <yangshiji66@qq.com> [add Fixes:] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt7620/base-files')
-rw-r--r--target/linux/ramips/mt7620/base-files/etc/board.d/02_network5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
index 2d5c9c02dd..d85bdd822b 100644
--- a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
@@ -23,7 +23,6 @@ ramips_setup_interfaces()
ralink,mt7620a-mt7610e-evb|\
ralink,mt7620a-v22sg-evb|\
sanlinking,d240|\
- youku,yk1|\
zbtlink,zbt-ape522ii|\
zbtlink,zbt-we826-16m|\
zbtlink,zbt-we826-32m|\
@@ -216,6 +215,10 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "4:wan" "6@eth0"
;;
+ youku,yk1)
+ ucidef_add_switch "switch0" \
+ "0:lan" "1:lan" "4:wan" "6@eth0"
+ ;;
zbtlink,zbt-we1026-5g-16m)
ucidef_add_switch "switch0" \
"0:lan" "6t@eth0"