diff options
author | Chen Minqiang <ptpt52@gmail.com> | 2019-08-07 08:58:48 +0800 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2019-08-17 23:52:34 +0800 |
commit | 51dcde7c9c44a36399a7e11396029e84ff2734a1 (patch) | |
tree | c842590afc25f74cff812e013e6c8c402c86f8ef /target/linux/ramips/base-files/etc | |
parent | a293db210333afc98d807cf1008e417fda7ff102 (diff) | |
download | upstream-51dcde7c9c44a36399a7e11396029e84ff2734a1.tar.gz upstream-51dcde7c9c44a36399a7e11396029e84ff2734a1.tar.bz2 upstream-51dcde7c9c44a36399a7e11396029e84ff2734a1.zip |
ramips: fix switch ports settings
This change the switch settings for:
HC5661: 4 lan ports + 1 wan port
Y1S: 2 lan ports(G port) + 2 lan ports(E port) + 1 wan port
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 9 |
1 files changed, 6 insertions, 3 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 e9f4e98fa5..c0de9d4e50 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -194,6 +194,7 @@ ramips_setup_interfaces() glinet,gl-mt300n|\ glinet,gl-mt750|\ hilink,hlk-7628n|\ + hiwifi,hc5661|\ hiwifi,hc5861b|\ jcg,jhr-n805r|\ jcg,jhr-n825r|\ @@ -348,9 +349,7 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "0:lan" "4:lan" "6@eth0" ;; - head-weblink,hdrm200|\ - hiwifi,hc5661|\ - lenovo,newifi-y1s) + head-weblink,hdrm200) ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "5:lan" "0:wan" "6@eth0" ;; @@ -383,6 +382,10 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "0:lan:2" "1:lan:1" "4:wan" "6@eth0" ;; + lenovo,newifi-y1s) + ucidef_add_switch "switch0" \ + "1:lan:4" "2:lan:3" "4:lan:2" "5:lan:1" "0:wan" "6@eth0" + ;; linksys,e1700|\ ralink,mt7620a-mt7530-evb) ucidef_add_switch "switch1" \ |