From 26b58991b0bfe3b19b39ae8bfb190b569a072e9c Mon Sep 17 00:00:00 2001 From: Lech Perczak Date: Sat, 15 Oct 2022 17:59:38 +0200 Subject: ipq40xx: fix ZTE MF289F port mapping With initial support, the mapping of LAN1/WAN and LAN2 ports was swapped. Fix it to match labels on the device, keeping the "WAN" personality of the first port - in line with current state of DSA setup in master for this device. Tested-by: Marcin Gajda Tested-by: Christian Heuff Signed-off-by: Lech Perczak --- target/linux/ipq40xx/base-files/etc/board.d/02_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ipq40xx/base-files') 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 deb9ec64f6..a38d35a10d 100644 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -153,7 +153,7 @@ ipq40xx_setup_interfaces() zte,mf289f) ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_add_switch "switch0" \ - "0u@eth0" "0u@eth1" "2:lan:1" "5:lan:2" + "0u@eth0" "5:lan:2" "0u@eth1" "2:wan" ;; *) echo "Unsupported hardware. Network interfaces not initialized" -- cgit v1.2.3