diff options
author | Chukun Pan <amadeus@jmu.edu.cn> | 2022-09-05 23:16:09 +0800 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-09-09 21:08:37 +0100 |
commit | a9233175e805a0176c8850e6fa8907c41b7797c5 (patch) | |
tree | 6e211e9bdf5844474d63e008c004ebfba5c0e833 /target/linux/mediatek | |
parent | fbe2f7db8644d831e7afe9e0b5b154a8d7294815 (diff) | |
download | upstream-a9233175e805a0176c8850e6fa8907c41b7797c5.tar.gz upstream-a9233175e805a0176c8850e6fa8907c41b7797c5.tar.bz2 upstream-a9233175e805a0176c8850e6fa8907c41b7797c5.zip |
mediatek: mt7986a/b-rfb: fix 02_network setup
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>
Diffstat (limited to 'target/linux/mediatek')
-rw-r--r-- | target/linux/mediatek/filogic/base-files/etc/board.d/02_network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mediatek/filogic/base-files/etc/board.d/02_network b/target/linux/mediatek/filogic/base-files/etc/board.d/02_network index 13afc2a3dc..f7dc7a01e0 100644 --- a/target/linux/mediatek/filogic/base-files/etc/board.d/02_network +++ b/target/linux/mediatek/filogic/base-files/etc/board.d/02_network @@ -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" |