ramips: mt7621/network: drop mtwifi hack

This commit is contained in:
AmadeusGhost 2022-05-31 23:38:16 +08:00 committed by AmadeusGhost
parent d41530dba8
commit 8c76a6f498

View File

@ -45,17 +45,14 @@ ramips_setup_interfaces()
beeline,smartbox-turbo-plus) beeline,smartbox-turbo-plus)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"1:lan:1" "2:lan:2" "3:lan:3" "4:lan:4" "0:wan" "6@eth0" "1:lan:1" "2:lan:2" "3:lan:3" "4:lan:4" "0:wan" "6@eth0"
ucidef_set_interface_lan "eth0.1 ra0 rai0"
;; ;;
d-team,newifi-d2) d-team,newifi-d2)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan:5" "6@eth0" "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan:5" "6@eth0"
ucidef_set_interface_lan "eth0.1 ra0 rai0"
;; ;;
gehua,ghl-r-001) gehua,ghl-r-001)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "4:wan" "6u@eth0" "5u@eth1" "0:lan" "1:lan" "2:lan" "4:wan" "6u@eth0" "5u@eth1"
ucidef_set_interface_lan "eth0.1 ra0 rai0"
;; ;;
gnubee,gb-pc1|\ gnubee,gb-pc1|\
gnubee,gb-pc2) gnubee,gb-pc2)
@ -94,7 +91,6 @@ ramips_setup_interfaces()
xiaomi,redmi-router-ac2100) xiaomi,redmi-router-ac2100)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"2:lan:1" "3:lan:2" "4:lan:3" "0:wan" "6u@eth0" "5u@eth1" "2:lan:1" "3:lan:2" "4:lan:3" "0:wan" "6u@eth0" "5u@eth1"
ucidef_set_interface_lan "eth0.1 ra0 rai0"
;; ;;
zyxel,nr7101) zyxel,nr7101)
ucidef_set_interfaces_lan_wan "lan" "wan" ucidef_set_interfaces_lan_wan "lan" "wan"