summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/xscale
diff options
context:
space:
mode:
authorDaniel Machon <daniel.machon@microchip.com>2024-10-04 16:19:41 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-10-08 13:07:02 +0300
commit8cc4102363c76ed734cf030e6389d423e884edf1 (patch)
tree4f3784dbec37f1ebf1f34780b641ff4e48c44d25 /drivers/net/ethernet/xscale
parent4b67bcb9094e74890483e55ea2aaf2d57c4df843 (diff)
downloadlinux-8cc4102363c76ed734cf030e6389d423e884edf1.tar.xz
net: sparx5: redefine internal ports and PGID's as offsets
Internal ports and PGID's are both defined relative to the number of front ports on Sparx5. This will not work on lan969x. Instead make them offsets to the number of front ports and add two helpers to retrieve them. Use the helpers throughout. Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Signed-off-by: Daniel Machon <daniel.machon@microchip.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/xscale')
0 files changed, 0 insertions, 0 deletions