diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2020-03-20 18:08:00 +0800 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2020-03-21 12:58:29 +0800 |
commit | 1bbb8807fab2b679548aef10111242957f99875b (patch) | |
tree | 46db975b4ee21e0dc6317750c8c1e588b63d328b | |
parent | 5a326688ea34463348a38089cf31e6f68048589a (diff) | |
download | upstream-1bbb8807fab2b679548aef10111242957f99875b.tar.gz upstream-1bbb8807fab2b679548aef10111242957f99875b.tar.bz2 upstream-1bbb8807fab2b679548aef10111242957f99875b.zip |
mediatek: mt7629: fix ethernet default config
1. fix typo: ucidef_set_interfaces_wan -> ucidef_set_interface_wan
2. change board name to mt7629-rfb to match upstream dts
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
-rwxr-xr-x | target/linux/mediatek/mt7629/base-files/etc/board.d/02_network | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mediatek/mt7629/base-files/etc/board.d/02_network b/target/linux/mediatek/mt7629/base-files/etc/board.d/02_network index 757a390c24..24c66de788 100755 --- a/target/linux/mediatek/mt7629/base-files/etc/board.d/02_network +++ b/target/linux/mediatek/mt7629/base-files/etc/board.d/02_network @@ -9,8 +9,8 @@ mediatek_setup_interfaces() local board="$1" case $board in - mediatek,mt7629-lynx-rfb) - ucidef_set_interfaces_wan "eth1" + mediatek,mt7629-rfb) + ucidef_set_interface_wan "eth1" ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "6@eth0" ;; |