aboutsummaryrefslogtreecommitdiffstats
path: root/target
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-16 18:28:27 +0100
commit68f49df31507454f86b72a5c1e250505176baed7 (patch)
tree91bb0c50a32bc691ea38c4c90acd2bd3dd76110d /target
parenta5f3648a1c273b45dc9df18785e0b5966ac5b47e (diff)
downloadupstream-68f49df31507454f86b72a5c1e250505176baed7.tar.gz
upstream-68f49df31507454f86b72a5c1e250505176baed7.tar.bz2
upstream-68f49df31507454f86b72a5c1e250505176baed7.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>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
index 85105c870b..84fc283f4f 100755
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -13,7 +13,6 @@ ramips_setup_interfaces()
afoundry,ew1200|\
d-team,pbr-m1|\
firefly,firewrt|\
- hiwifi,hc5962|\
jcg,jhr-ac876m|\
mediatek,ap-mt7621a-v60|\
mediatek,mt7621-eval-board|\
@@ -102,6 +101,10 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "4:lan" "6@eth0"
;;
+ hiwifi,hc5962)
+ ucidef_add_switch "switch0" \
+ "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
+ ;;
lenovo,newifi-d1)
ucidef_add_switch "switch0" \
"1:lan:2" "2:lan:1" "4:wan" "6@eth0"