ath79: add WAN definition for GL.iNET GL-E750 (Mudi)
authorJan Fuchs <jf@simonwunderlich.de>
Thu, 25 Jan 2024 10:29:21 +0000 (11:29 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 2 Feb 2024 10:29:52 +0000 (11:29 +0100)
Add the default WAN interface to use QMI, to have WAN configured
right from the start.

Signed-off-by: Jan Fuchs <jf@simonwunderlich.de>
target/linux/ath79/nand/base-files/etc/board.d/02_network

index f5dda414c2ffa9aee86a572a5f42da94d5a4e02e..ff9695aafef6b36639d427d1509bfeaff01a5902 100644 (file)
@@ -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)