summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorDaniel Machon <daniel.machon@microchip.com>2024-10-04 15:19:34 +0200
committerPaolo Abeni <pabeni@redhat.com>2024-10-08 12:07:01 +0200
commit048c96907ca150c487da66ce0cc3528ab68a1661 (patch)
treed788bed5b27549f054bcfd16791d27c86f9f8bf6 /rust/helpers/build_bug.c
parent559fb423d5f2d64b6cd74f4ad7bdc09795c67a06 (diff)
net: sparx5: add ops to match data
Add new struct sparx5_ops, containing functions that needs to be different as the implementation differs on Sparx5 and lan969x. Initially we add functions for checking the port type (2g5, 5g, 10g or 25g) based on the port number. Update the code to use the ops instead of the platform specific functions. Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Daniel Machon <daniel.machon@microchip.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions