mediatek: mt7986a/b-rfb: fix 02_network setup
authorChukun Pan <amadeus@jmu.edu.cn>
Mon, 5 Sep 2022 15:16:09 +0000 (23:16 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 9 Sep 2022 20:08:37 +0000 (21:08 +0100)
According to the device tree, the lan ports are
lan0 to lan3, and the wan port is eth1.

Fixes: cffc77a ("mediatek: add filogic subtarget")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
target/linux/mediatek/filogic/base-files/etc/board.d/02_network

index 13afc2a3dcfe40a07a5a2696a2e16a0fae717fd8..f7dc7a01e061c7256b4c5be3014e996000c9831e 100644 (file)
@@ -10,7 +10,7 @@ mediatek_setup_interfaces()
        case $board in
        mediatek,mt7986a-rfb|\
        mediatek,mt7986b-rfb)
-               ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" wan
+               ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" eth1
                ;;
        bananapi,bpi-r3)
                ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 sfp2" "eth1 wan"