diff options
| author | Stefan Wahren <wahrenst@gmx.net> | 2025-09-12 17:03:32 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-16 04:34:08 +0300 |
| commit | d2d3f529e7b6ff2aa432b16a2317126621c28058 (patch) | |
| tree | 54ab95d99d125f9d9f088f5c50e71358e9962052 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | c5b7509d3a47c0c7b09629340c90ce5d4dae07ca (diff) | |
| download | linux-d2d3f529e7b6ff2aa432b16a2317126621c28058.tar.xz | |
ethernet: Extend device_get_mac_address() to use NVMEM
A lot of modern SoC have the ability to store MAC addresses in their
NVMEM. So extend the generic function device_get_mac_address() to
obtain the MAC address from an nvmem cell named 'mac-address' in
case there is no firmware node which contains the MAC address directly.
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250912140332.35395-3-wahrenst@gmx.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
