David Bauer
cd39aba402
generic: write back netdev MAC-address to device-tree
...
The label-mac logic relies on the mac-address property of a netdev
devices of-node. However, the mac address can also be stored as a
different property or read from e.g. an mtd device.
Create this node when reading a mac-address from OF if it does not
already exist and copy the mac-address used for the device to this
property. This way, the MAC address can be accessed using procfs.
Signed-off-by: David Bauer <mail@david-bauer.net>
2021-07-29 00:30:05 +02:00
..
2021-04-03 21:07:22 +01:00
2021-04-03 21:07:22 +01:00
2021-04-16 12:58:53 +01:00
2021-07-17 13:27:03 +02:00
2021-07-20 04:11:05 +01:00
2021-03-05 20:35:01 +01:00
2021-02-16 23:48:23 +01:00
2021-05-06 14:53:25 +02:00
2021-07-17 13:27:03 +02:00
2021-07-17 13:27:03 +02:00
2021-03-01 18:18:38 +01:00
2021-03-29 08:46:17 +02:00
2021-04-30 23:48:37 +02:00
2021-04-30 23:48:37 +02:00
2021-05-14 08:46:45 +01:00
2021-03-05 20:35:01 +01:00
2021-03-05 20:35:01 +01:00
2021-03-05 20:35:01 +01:00
2021-03-19 01:25:26 +01:00
2021-07-25 13:52:38 +02:00
2021-02-24 01:35:20 +00:00
2021-05-14 14:50:03 +01:00
2021-04-22 15:13:56 +01:00
2021-04-03 21:07:22 +01:00
2021-04-03 21:07:22 +01:00
2021-07-08 07:38:41 +02:00
2021-07-17 13:22:28 +02:00
2021-07-17 13:27:03 +02:00
2021-06-14 01:36:36 +02:00
2021-07-20 04:11:05 +01:00
2021-07-29 00:30:05 +02:00
2021-07-29 00:30:05 +02:00
2021-07-29 00:30:05 +02:00
2021-07-08 07:38:41 +02:00
2021-04-03 21:07:22 +01:00
2021-06-27 13:19:20 +02:00
2021-02-17 13:48:43 +00:00
2021-04-03 21:07:22 +01:00
2021-02-23 21:10:56 +01:00
2021-04-03 21:07:22 +01:00
2021-06-22 23:23:00 +02:00
2021-06-22 23:23:00 +02:00
2021-06-22 23:23:00 +02:00
2021-04-22 15:13:56 +01:00
2021-07-20 04:11:05 +01:00
2021-02-16 23:48:23 +01:00
2021-02-24 18:45:59 +01:00
2021-04-16 12:58:53 +01:00