فهرست منبع

ath79: ap5030dn: use label-mac-device property

Userspace handling is deprecated.

Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17311
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev 1 سال پیش
والد
کامیت
f10ee1e209

+ 1 - 0
target/linux/ath79/dts/qca9550_huawei_ap5030dn.dts

@@ -15,6 +15,7 @@
 	};
 
 	aliases {
+		label-mac-device = &eth0;
 		led-boot = &led_function_red;
 		led-failsafe = &led_function_red;
 		led-running = &led_function_green;

+ 0 - 3
target/linux/ath79/generic/base-files/etc/board.d/02_network

@@ -754,9 +754,6 @@ ath79_setup_macs()
 	hak5,packet-squirrel)
 		label_mac=$(mtd_get_mac_binary u-boot 0x1fc00)
 		;;
-	huawei,ap5030dn)
-		label_mac=$(mtd_get_mac_binary art 0x2005b)
-		;;
 	iodata,etg3-r)
 		lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr)
 		wan_mac=$(macaddr_add "$lan_mac" -1)