aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>2020-01-17 00:24:43 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-21 13:59:44 +0100
commit3a3ca3230f839c4ae1a0e5e11f4031bfa447bebb (patch)
treea16b7f11af1221966eca2687dbec7b586a666924
parent5c7225c26b32a460c999fb1d97ed2899ffa2b7f6 (diff)
downloadupstream-3a3ca3230f839c4ae1a0e5e11f4031bfa447bebb.tar.gz
upstream-3a3ca3230f839c4ae1a0e5e11f4031bfa447bebb.tar.bz2
upstream-3a3ca3230f839c4ae1a0e5e11f4031bfa447bebb.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-xtarget/linux/ramips/base-files/etc/board.d/02_network5
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 4a58f61b92..50d3a89bd8 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -88,7 +88,6 @@ ramips_setup_interfaces()
ew1200|\
firewrt|\
hc5661a|\
- hc5962|\
hlk-rm04|\
k2p|\
kn|\
@@ -285,6 +284,10 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "5:lan" "0:wan" "6@eth0"
;;
+ hc5962)
+ ucidef_add_switch "switch0" \
+ "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
+ ;;
kn_rf)
ucidef_add_switch "switch0" \
"0:wan" "1:lan" "2:lan" "3:lan" "4:lan" "6@eth0"