diff options
| author | Ciprian Regus <ciprian.regus@analog.com> | 2026-07-08 01:33:36 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-07-21 10:53:24 +0200 |
| commit | 92ec8d69ddb0a75cd416f571236915d09fcb9bf6 (patch) | |
| tree | 0324e6ecab406d68ddd78e0cbf0658acfbbe2d9b /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6ad250179486d718dde90d815fc77df4de7d1dc4 (diff) | |
net: ethernet: oa_tc6: Use the read_mms/write_mms functions for C45
Accessing PHY MMD devices requires control transactions to registers in
a memory map other than 0. Replace the current formatting of the
register addresses with the oa_tc6_{read,write}_register_mms()
functions. While we're here, introduce the mms variable to store the
memory map returned by oa_tc6_get_phy_c45_mms() instead of ret, in order
to improve the code readability.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Ciprian Regus <ciprian.regus@analog.com>
Link: https://patch.msgid.link/20260708-adin1140-driver-v5-8-4aca7b51a58b@analog.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
