From: Jan Fuchs Date: Thu, 25 Jan 2024 10:29:21 +0000 (+0100) Subject: ath79: add WAN definition for GL.iNET GL-E750 (Mudi) X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f61fc8ed795028c0a34afd9a2b7c75b78f269d6f;p=openwrt%2Fstaging%2Fblocktrron.git ath79: add WAN definition for GL.iNET GL-E750 (Mudi) Add the default WAN interface to use QMI, to have WAN configured right from the start. Signed-off-by: Jan Fuchs --- diff --git a/target/linux/ath79/nand/base-files/etc/board.d/02_network b/target/linux/ath79/nand/base-files/etc/board.d/02_network index f5dda414c2..ff9695aafe 100644 --- a/target/linux/ath79/nand/base-files/etc/board.d/02_network +++ b/target/linux/ath79/nand/base-files/etc/board.d/02_network @@ -8,7 +8,6 @@ ath79_setup_interfaces() case "$board" in aerohive,hiveap-121|\ - glinet,gl-e750|\ meraki,mr18) ucidef_set_interface_lan "eth0" ;; @@ -26,6 +25,11 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "2:lan:2" "3:lan:1" "1:wan" ;; + glinet,gl-e750|\ + zte,mf282) + ucidef_set_interface_lan "eth0" + ucidef_set_interface "wan" device "/dev/cdc-wdm0" protocol "qmi" + ;; glinet,gl-xe300) ucidef_set_interface_wan "eth1" ucidef_add_switch "switch0" \ @@ -69,10 +73,6 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "5:lan" ;; - zte,mf282) - ucidef_set_interface_lan "eth0" - ucidef_set_interface "wan" device "/dev/cdc-wdm0" protocol "qmi" - ;; zte,mf286|\ zte,mf286a|\ zte,mf286r)