mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-22 10:01:03 +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> (backported from commit 68f49df31507454f86b72a5c1e250505176baed7) Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
a885f7d3d0
commit
03c35bda03
@ -94,7 +94,6 @@ ramips_setup_interfaces()
|
|||||||
ew1200|\
|
ew1200|\
|
||||||
firewrt|\
|
firewrt|\
|
||||||
hc5661a|\
|
hc5661a|\
|
||||||
hc5962|\
|
|
||||||
hlk-rm04|\
|
hlk-rm04|\
|
||||||
k2p|\
|
k2p|\
|
||||||
kn|\
|
kn|\
|
||||||
@ -344,6 +343,10 @@ ramips_setup_interfaces()
|
|||||||
ucidef_add_switch "switch0" \
|
ucidef_add_switch "switch0" \
|
||||||
"0:lan" "1:lan" "5:wan" "6@eth0"
|
"0:lan" "1:lan" "5:wan" "6@eth0"
|
||||||
;;
|
;;
|
||||||
|
hc5962)
|
||||||
|
ucidef_add_switch "switch0" \
|
||||||
|
"1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
|
||||||
|
;;
|
||||||
iodata,wn-ac1167gr|\
|
iodata,wn-ac1167gr|\
|
||||||
iodata,wn-ac733gr3)
|
iodata,wn-ac733gr3)
|
||||||
ucidef_add_switch "switch1" \
|
ucidef_add_switch "switch1" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user