diff options
| author | Marek Vasut <[email protected]> | 2025-01-16 05:03:23 +0100 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2025-01-20 08:40:39 -0300 |
| commit | 4eb5ef73a9565a78dd2a18d0ff4576701bedf872 (patch) | |
| tree | a80ba22621743f9feb881f247212c865b2801c6c /doc/develop | |
| parent | e091e49afe0c47f5884928f42dd29c980478d3e7 (diff) | |
net: fsl_enetc: Introduce enetc_dev_id()
Introduce mapping function enetc_dev_id(), which converts PCIe BDF of
the ENETC into linear incrementing index usable e.g. as interface index.
This replaces the current ad-hoc calculation used in the code with a
dedicated function. No functional change.
Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
