diff options
author | Shiji Yang <yangshiji66@qq.com> | 2021-03-21 17:01:49 +0800 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-04-02 16:04:00 +0200 |
commit | b8eb602934f5e02d8a15678a82dd516b4b7765ff (patch) | |
tree | 09948670493608b27e3dacf8125478b2671b38b8 /target/linux/ramips/mt7620/base-files/etc | |
parent | b2c9a8741ff2ea4c6689482aece0f35e15b428c8 (diff) | |
download | upstream-b8eb602934f5e02d8a15678a82dd516b4b7765ff.tar.gz upstream-b8eb602934f5e02d8a15678a82dd516b4b7765ff.tar.bz2 upstream-b8eb602934f5e02d8a15678a82dd516b4b7765ff.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>
(cherry picked from commit b88d2850c66d7dc937e570661a047c647c588af5)
Diffstat (limited to 'target/linux/ramips/mt7620/base-files/etc')
-rwxr-xr-x | target/linux/ramips/mt7620/base-files/etc/board.d/02_network | 5 |
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 e614de5010..398d275dae 100755 --- a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network @@ -24,7 +24,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|\ @@ -217,6 +216,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" |