aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/base-files
diff options
context:
space:
mode:
authorLech Perczak <lech.perczak@gmail.com>2022-10-15 17:59:38 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-11-05 22:49:43 +0100
commit26b58991b0bfe3b19b39ae8bfb190b569a072e9c (patch)
treea27ed1f3047930a7bd52d9db1e10b06c388c2b67 /target/linux/ipq40xx/base-files
parent71178a85068c9986aece584d58e4c14cd78939c6 (diff)
downloadupstream-26b58991b0bfe3b19b39ae8bfb190b569a072e9c.tar.gz
upstream-26b58991b0bfe3b19b39ae8bfb190b569a072e9c.tar.bz2
upstream-26b58991b0bfe3b19b39ae8bfb190b569a072e9c.zip
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 <mgajda@o2.pl> Tested-by: Christian Heuff <christian@heuff.at> Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx/base-files')
-rw-r--r--target/linux/ipq40xx/base-files/etc/board.d/02_network2
1 files changed, 1 insertions, 1 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 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"