aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt76x8
diff options
context:
space:
mode:
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>2020-02-12 21:17:23 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-02-14 14:10:51 +0100
commit8590e70fab64172700c21bc5e658eba17a1eae70 (patch)
tree02764609bf159e79cc543fc870091750870734b1 /target/linux/ramips/mt76x8
parent5715b21f8066f85aa06ff131868e11a27cca5559 (diff)
downloadupstream-8590e70fab64172700c21bc5e658eba17a1eae70.tar.gz
upstream-8590e70fab64172700c21bc5e658eba17a1eae70.tar.bz2
upstream-8590e70fab64172700c21bc5e658eba17a1eae70.zip
ramips: fix HiWiFi HC5761A switch settings
HC5761A has only 2 LAN ports Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'target/linux/ramips/mt76x8')
-rwxr-xr-xtarget/linux/ramips/mt76x8/base-files/etc/board.d/02_network5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
index 6ba23f9451..913a0817dc 100755
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
@@ -60,7 +60,6 @@ ramips_setup_interfaces()
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0"
;;
hiwifi,hc5661a|\
- hiwifi,hc5761a|\
mediatek,mt7628an-eval-board|\
mercury,mac1200r-v2|\
totolink,lr1200|\
@@ -69,6 +68,10 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
;;
+ hiwifi,hc5761a)
+ ucidef_add_switch "switch0" \
+ "0:lan" "1:lan" "4:wan" "6@eth0"
+ ;;
iptime,a3)
ucidef_add_switch "switch0" \
"2:lan:2" "3:lan:1" "0:wan" "6@eth0"