Sfoglia il codice sorgente

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 <[email protected]>
Jan Fuchs 2 anni fa
parent
commit
f61fc8ed79

+ 5 - 5
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)