On Tue, Aug 19, 2025 at 02:31:17AM +0100, Daniel Golle wrote:
> Prepare for supporting the newer standalone MaxLinear GSW1xx switch
> family by refactoring the existing lantiq_gswip driver.
> This is the first of a total of 3 series and doesn't yet introduce
> any functional changes, but rather just makes the driver more
> flexible, so new hardware and features can be supported in future.
>
> This series has been preceded by an RFC series which covers everything
> needed to support the MaxLinear GSW1xx family of switches. Andrew Lunn
> had suggested to start with the 8 patches now submitted as they prepare
> but don't yet introduce any functional changes.
>
> Everything has been compile and runtime tested on AVM Fritz!Box 7490
> (GSWIP version 2.1, VR9 v1.2)
>
> Link: https://lore.kernel.org/netdev/aKDhFCNwjDDwRKsI@pidgin.makrotopia.org/
>
> Daniel Golle (8):
> net: dsa: lantiq_gswip: deduplicate dsa_switch_ops
> net: dsa: lantiq_gswip: prepare for more CPU port options
> net: dsa: lantiq_gswip: move definitions to header
> net: dsa: lantiq_gswip: introduce bitmaps for port types
> net: dsa: lantiq_gswip: load model-specific microcode
> net: dsa: lantiq_gswip: make DSA tag protocol model-specific
> net: dsa: lantiq_gswip: store switch API version in priv
> net: dsa: lantiq_gswip: add support for SWAPI version 2.3
>
> drivers/net/dsa/lantiq_gswip.c | 404 ++++++++-------------------------
> drivers/net/dsa/lantiq_gswip.h | 268 ++++++++++++++++++++++
> drivers/net/dsa/lantiq_pce.h | 9 +-
> 3 files changed, 363 insertions(+), 318 deletions(-)
> create mode 100644 drivers/net/dsa/lantiq_gswip.h
>
> --
> 2.50.1
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>