From: Rosen Penev Date: Sat, 22 Jun 2024 18:43:03 +0000 (-0700) Subject: ath79: ap5030dn: use label-mac-device property X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f10ee1e20966bdb86cb61a87338f953de1d86cc6;p=openwrt%2Fstaging%2Fstintel.git ath79: ap5030dn: use label-mac-device property Userspace handling is deprecated. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/17311 Signed-off-by: Robert Marko --- diff --git a/target/linux/ath79/dts/qca9550_huawei_ap5030dn.dts b/target/linux/ath79/dts/qca9550_huawei_ap5030dn.dts index 1c2a75f1dd..731b5a8255 100644 --- a/target/linux/ath79/dts/qca9550_huawei_ap5030dn.dts +++ b/target/linux/ath79/dts/qca9550_huawei_ap5030dn.dts @@ -15,6 +15,7 @@ }; aliases { + label-mac-device = ð0; led-boot = &led_function_red; led-failsafe = &led_function_red; led-running = &led_function_green; diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network index e987d754f0..42910d436e 100644 --- a/target/linux/ath79/generic/base-files/etc/board.d/02_network +++ b/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)