[PATCH net-next v4 0/7] net: dsa: lantiq_gswip: prepare for supporting new features

Daniel Golle posted 7 patches 1 month, 1 week ago
drivers/net/dsa/lantiq_gswip.c | 414 ++++++++-------------------------
drivers/net/dsa/lantiq_gswip.h | 272 ++++++++++++++++++++++
drivers/net/dsa/lantiq_pce.h   |   9 +-
3 files changed, 375 insertions(+), 320 deletions(-)
create mode 100644 drivers/net/dsa/lantiq_gswip.h
[PATCH net-next v4 0/7] net: dsa: lantiq_gswip: prepare for supporting new features
Posted by Daniel Golle 1 month, 1 week ago
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 (7):
  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 bitmap for MII ports
  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

 drivers/net/dsa/lantiq_gswip.c | 414 ++++++++-------------------------
 drivers/net/dsa/lantiq_gswip.h | 272 ++++++++++++++++++++++
 drivers/net/dsa/lantiq_pce.h   |   9 +-
 3 files changed, 375 insertions(+), 320 deletions(-)
 create mode 100644 drivers/net/dsa/lantiq_gswip.h

-- 
2.50.1