From 579ea6b97079cf57949892969064dbee3203d1f4 Mon Sep 17 00:00:00 2001 From: Dirk Buchwalder Date: Thu, 6 Oct 2022 18:25:12 +0200 Subject: 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 Reviewed-by: Robert Marko Reviewed-by: Lech Perczak --- target/linux/ipq40xx/base-files/etc/board.d/02_network | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'target/linux/ipq40xx/base-files/etc') diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network index 163dcdcbc6..583b5c8fbd 100644 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -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" ;; -- cgit v1.2.3