mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
ath79: engenius: remove userspace label mac
Can be handled easily in dts. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
2c1bc871e3
commit
c655deec99
@ -12,6 +12,7 @@
|
|||||||
compatible = "engenius,eap300-v2", "qca,ar9341";
|
compatible = "engenius,eap300-v2", "qca,ar9341";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
|
label-mac-device = &wmac;
|
||||||
led-boot = &led_power;
|
led-boot = &led_power;
|
||||||
led-failsafe = &led_power;
|
led-failsafe = &led_power;
|
||||||
led-running = &led_power;
|
led-running = &led_power;
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
compatible = "engenius,ens202ext-v1", "qca,ar9341";
|
compatible = "engenius,ens202ext-v1", "qca,ar9341";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
|
label-mac-device = &wmac;
|
||||||
led-boot = &led_power;
|
led-boot = &led_power;
|
||||||
led-failsafe = &led_power;
|
led-failsafe = &led_power;
|
||||||
led-running = &led_power;
|
led-running = &led_power;
|
||||||
|
@ -622,10 +622,6 @@ ath79_setup_macs()
|
|||||||
lan_mac=$(mtd_get_mac_binary "Board data" 2)
|
lan_mac=$(mtd_get_mac_binary "Board data" 2)
|
||||||
label_mac=$lan_mac
|
label_mac=$lan_mac
|
||||||
;;
|
;;
|
||||||
engenius,eap300-v2|\
|
|
||||||
engenius,ens202ext-v1)
|
|
||||||
label_mac=$(mtd_get_mac_binary art 0x1002)
|
|
||||||
;;
|
|
||||||
arduino,yun)
|
arduino,yun)
|
||||||
base_mac=$(mtd_get_mac_binary art 0x1002)
|
base_mac=$(mtd_get_mac_binary art 0x1002)
|
||||||
lan_mac=$(macaddr_setbit $base_mac 29)
|
lan_mac=$(macaddr_setbit $base_mac 29)
|
||||||
|
Loading…
Reference in New Issue
Block a user