openwrt-mirror/target/linux/generic
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
..
backport-5.4 kernel: backport workaround for Realtek RTL8672 and RTL9601C chips 2021-07-25 13:52:38 +02:00
backport-5.10 kernel: bump 5.10 to 5.10.51 2021-07-20 04:11:05 +01:00
files kernel: make uImage.FIT partition parser work on MBR partitions 2021-07-20 04:11:05 +01:00
hack-5.4 Revert "generic: add mac-address property for NVMEM mac addresses" 2021-07-28 13:48:24 +02:00
hack-5.10 Revert "generic: add mac-address property for NVMEM mac addresses" 2021-07-28 13:48:24 +02:00
image target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-5.4 generic: write back netdev MAC-address to device-tree 2021-07-29 00:30:05 +02:00
pending-5.10 generic: write back netdev MAC-address to device-tree 2021-07-29 00:30:05 +02:00
config-5.4 kernel: bump 5.4 to 5.4.134 2021-07-25 13:52:38 +02:00
config-5.10 kernel/generic: sort the 5.10 kconfig symbols 2021-07-25 13:52:38 +02:00
config-filter kernel: generic: filter out CONFIG_PLUGIN_HOSTCC 2021-03-06 03:52:33 +00:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00