aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/base-files/etc
diff options
context:
space:
mode:
authorDirk Buchwalder <buchwalder@posteo.de>2022-10-06 18:25:12 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-10-09 22:39:48 +0200
commit579ea6b97079cf57949892969064dbee3203d1f4 (patch)
tree8a5553c36d433a4bb7d21914de99bd2b34f06127 /target/linux/ipq40xx/base-files/etc
parent911012662047ec133bdf4f5e490e0891cb782f3c (diff)
downloadupstream-579ea6b97079cf57949892969064dbee3203d1f4.tar.gz
upstream-579ea6b97079cf57949892969064dbee3203d1f4.tar.bz2
upstream-579ea6b97079cf57949892969064dbee3203d1f4.zip
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>
Diffstat (limited to 'target/linux/ipq40xx/base-files/etc')
-rw-r--r--target/linux/ipq40xx/base-files/etc/board.d/02_network8
1 files changed, 2 insertions, 6 deletions
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"
;;