generic: add mac-address property for NVMEM mac addresses
authorDavid Bauer <mail@david-bauer.net>
Tue, 20 Jul 2021 20:00:10 +0000 (22:00 +0200)
committerDavid Bauer <mail@david-bauer.net>
Thu, 22 Jul 2021 02:32:28 +0000 (04:32 +0200)
commitb30924873062be47250e6b872347461c8221688d
tree4afc2631224c4a6e469d85f646a3be32ca717ada
parent089c2bb2178daa144baa2e3ed20a55fb9a5c11ab
generic: add mac-address property for NVMEM mac addresses

Traversing the device-tree by referencing a network device to determine
a devices labe-mac does not work with the generic nvmem implementation,
as the userspace expects the MAC-address to be available as a
device-tree property.

The legacy mtd-mac-address implementation did create such a node. Do the
same when using the nvmem implementation to allow reading the MAC
address.

Fixes commit d284e6ef0f06 ("treewide: convert mtd-mac-address-increment*
to generic implementation")

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/generic/hack-5.10/683-NET-add-mac-address-property.patch [new file with mode: 0644]
target/linux/generic/hack-5.4/683-NET-add-mac-address-property.patch [new file with mode: 0644]