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>
This commit is contained in:
committed by
Hauke Mehrtens
parent
71178a8506
commit
26b58991b0
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user