mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-02 01:08:05 +00:00
ath79: ap5030dn: use label-mac-device property
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Userspace handling is deprecated. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17311 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
16c47c23df
commit
f10ee1e209
@ -15,6 +15,7 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
label-mac-device = ð0;
|
||||
led-boot = &led_function_red;
|
||||
led-failsafe = &led_function_red;
|
||||
led-running = &led_function_green;
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user