mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-10 21:01:21 +00:00
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>
This commit is contained in:
parent
a5f3648a1c
commit
68f49df315
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user