[PATCH linux dev-6.5] net: ftgmac100: support getting MAC address from NVMEM

Joel Stanley joel at jms.id.au
Fri Nov 10 13:41:03 AEDT 2023


On Thu, 9 Nov 2023 at 08:21, Zev Weiss <zev at bewilderbeest.net> wrote:
>
> From: Paul Fertser <fercerpav at gmail.com>
>
> Make use of of_get_ethdev_address() to support reading MAC address not
> only from the usual DT nodes but also from an NVMEM provider (e.g. using
> a dedicated area in an FRU EEPROM).
>
> Signed-off-by: Paul Fertser <fercerpav at gmail.com>
> Link: https://lore.kernel.org/r/20230713095743.30517-1-fercerpav@gmail.com
> Signed-off-by: Paolo Abeni <pabeni at redhat.com>
> (cherry picked from commit 2cee73cef253a333c7d48a0f8edda53e3cca990c)

I didn't know the kernel had code to do this. Very neat.

Applied to dev-6.5.


More information about the openbmc mailing list