diff options
author | DENG Qingfang <dengqf6@mail2.sysu.edu.cn> | 2020-01-17 00:24:43 +0800 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-01-18 16:09:16 +0100 |
commit | 03c35bda03e840da3342d6d4849ead9649c4fb6c (patch) | |
tree | 40122db6d3320a5ffae09d95bd3a894bd46f7220 | |
parent | a885f7d3d00f1d2332dda355828ac22f44beef13 (diff) | |
download | upstream-03c35bda03e840da3342d6d4849ead9649c4fb6c.tar.gz upstream-03c35bda03e840da3342d6d4849ead9649c4fb6c.tar.bz2 upstream-03c35bda03e840da3342d6d4849ead9649c4fb6c.zip |
ramips: fix HiWiFi HC5962 switch configuration
HC5962 has only 3 LAN ports, switch port 0 is unused
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
(backported from commit 68f49df31507454f86b72a5c1e250505176baed7)
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 5 |
1 files changed, 4 insertions, 1 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 77cc8d63f9..f743ce851a 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -94,7 +94,6 @@ ramips_setup_interfaces() ew1200|\ firewrt|\ hc5661a|\ - hc5962|\ hlk-rm04|\ k2p|\ kn|\ @@ -344,6 +343,10 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "0:lan" "1:lan" "5:wan" "6@eth0" ;; + hc5962) + ucidef_add_switch "switch0" \ + "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0" + ;; iodata,wn-ac1167gr|\ iodata,wn-ac733gr3) ucidef_add_switch "switch1" \ |