diff options
author | Rosen Penev <[email protected]> | 2024-10-21 17:22:45 -0700 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-10-29 15:33:23 +0100 |
commit | 707f1c4b6a2cf0bd290a63b6f3701878bb15e05f (patch) | |
tree | a85590509727f5eb738387314721bf02d040c98a /tools/perf/scripts/python/task-analyzer.py | |
parent | af4698be49e856589f559fee2054de5bc7d5b72f (diff) |
net: ibm: emac: generate random MAC if not found
On this Cisco MX60W, u-boot sets the local-mac-address property.
Unfortunately by default, the MAC is wrong and is actually located on a
UBI partition. Which means nvmem needs to be used to grab it.
In the case where that fails, EMAC fails to initialize instead of
generating a random MAC as many other drivers do.
Match behavior with other drivers to have a working ethernet interface.
Signed-off-by: Rosen Penev <[email protected]>
Reviewed-by: Shannon Nelson <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions