mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-02 10:53:45 +01: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>
(backported from commit 68f49df315)
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
5c7225c26b
commit
3a3ca3230f
1 changed files with 4 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue