Skip to content
Snippets Groups Projects
Commit 8590e70f authored by DENG Qingfang's avatar DENG Qingfang Committed by Adrian Schmutzler
Browse files

ramips: fix HiWiFi HC5761A switch settings


HC5761A has only 2 LAN ports

Signed-off-by: default avatarDENG Qingfang <dengqf6@mail2.sysu.edu.cn>
parent 5715b21f
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment