Skip to content

Commit

Permalink
ath79: ap5030dn: use label-mac-device property
Browse files Browse the repository at this point in the history
Userspace handling is deprecated.

Signed-off-by: Rosen Penev <[email protected]>
Link: openwrt#17311
Signed-off-by: Robert Marko <[email protected]>
  • Loading branch information
neheb authored and vincejv committed Dec 22, 2024
1 parent f554a78 commit ae1283c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9550_huawei_ap5030dn.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
};

aliases {
label-mac-device = &eth0;
led-boot = &led_function_red;
led-failsafe = &led_function_red;
led-running = &led_function_green;
Expand Down
3 changes: 0 additions & 3 deletions target/linux/ath79/generic/base-files/etc/board.d/02_network
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ae1283c

Please sign in to comment.