[PATCH net-next v4 0/5] Followup fixes for the dwmac and altera lynx conversion

From: Maxime Chevallier
Date: Wed Jun 07 2023 - 08:08:22 EST


Hello everyone,

Here's yet another version of the cleanup series for the TSE PCS replacement
by PCS Lynx. It includes Kconfig fixups, some missing initialisations
and a slight rework suggested by Russell for the dwmac cleanup sequence,
along with more explicit zeroing of local structures as per MAciej's
review.

V3->V4 :
- Zero mdio_regmap_config objects
- Make regmap config more local in dwmac_socfpga
V2->V3 :
- Fix uninitialized .autoscan field for mdio regmap configuration in
both altera_tse and dwmac_socfpga
V1->V2 :
- Fix a Kconfig inconsistency
- rework the dwmac_socfpga cleanup sequence

Maxime Chevallier (5):
net: altera-tse: Initialize local structs before using it
net: altera_tse: Use the correct Kconfig option for the PCS_LYNX
dependency
net: stmmac: make the pcs_lynx cleanup sequence specific to
dwmac_socfpga
net: altera_tse: explicitly disable autoscan on the regmap-mdio bus
net: dwmac_socfpga: initialize local data for mdio regmap
configuration

drivers/net/ethernet/altera/Kconfig | 2 +-
drivers/net/ethernet/altera/altera_tse_main.c | 3 ++
drivers/net/ethernet/stmicro/stmmac/common.h | 1 -
.../ethernet/stmicro/stmmac/dwmac-socfpga.c | 29 ++++++++++++++-----
.../net/ethernet/stmicro/stmmac/stmmac_mdio.c | 3 --
5 files changed, 26 insertions(+), 12 deletions(-)

--
2.40.1