2
0
forked from Ivasoft/openwrt

ipq40xx: ZTE MF289F: convert to DSA

Convert ZTE MF289F device to DSA, re-order network ports to match the
labels on the case and re-enable the device.

Signed-off-by: Dirk Buchwalder <buchwalder@posteo.de>
Reviewed-by: Robert Marko <robimarko@gmail.com>
Reviewed-by: Lech Perczak <lech.perczak@gmail.com>
This commit is contained in:
Dirk Buchwalder
2022-10-06 18:25:12 +02:00
committed by Hauke Mehrtens
parent 9110126620
commit 579ea6b970
3 changed files with 19 additions and 22 deletions

View File

@@ -33,7 +33,8 @@ ipq40xx_setup_interfaces()
glinet,gl-b2200|\
luma,wrtq-329acn|\
mikrotik,cap-ac|\
netgear,wac510)
netgear,wac510|\
zte,mf289f)
ucidef_set_interfaces_lan_wan "lan" "wan"
;;
aruba,ap-303|\
@@ -59,11 +60,6 @@ ipq40xx_setup_interfaces()
zte,mf286d)
ucidef_set_interfaces_lan_wan "lan2 lan3 lan4" "wan"
;;
zte,mf289f)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" \
"0u@eth0" "0u@eth1" "2:lan:1" "5:lan:2"
;;
*)
echo "Unsupported hardware. Network interfaces not initialized"
;;