]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: sparx5: modify SPX5_PORTS_ALL macro
authorDaniel Machon <daniel.machon@microchip.com>
Fri, 4 Oct 2024 13:19:29 +0000 (15:19 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 8 Oct 2024 10:07:01 +0000 (12:07 +0200)
commit7a03df01457bb92416be029ed74ea1403783ca3c
tree08dda541a46a91e0e528ce4b2d37472b63d14318
parent5ba3f8460393aab8debdc961a8364527252c2b1e
net: sparx5: modify SPX5_PORTS_ALL macro

In preparation for lan969x, we need to define the SPX5_PORTS_ALL macro
as 70 (65 front ports + 5 internal ports). This is required as the
SPX5_PORT_CPU will be redefined as an offset to the number of front
ports, in a subsequent patch.

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>
drivers/net/ethernet/microchip/sparx5/sparx5_main.h