[PATCH 0/4] net: stmmac: fix regression on SPEAr3xx SOC

Herve Codina herve.codina at bootlin.com
Fri Oct 8 03:34:36 PDT 2021


The ethernet driver used on old SPEAr3xx soc was previously supported on old
kernel. Some regressions were introduced during the different updates leading
to a broken driver for this soc.

This series fixes these regressions and brings back ethernet on SPEAr3xx.
Tested on a SPEAr320 board.

Herve Codina (4):
  net: stmmac: fix get_hw_feature() on old hardware
  dt-bindings: net: snps,dwmac: add dwmac 3.40a IP version
  net: stmmac: add support for dwmac 3.40a
  ARM: dts: spear3xx: Fix gmac node

 .../devicetree/bindings/net/snps,dwmac.yaml         |  2 ++
 arch/arm/boot/dts/spear3xx.dtsi                     |  2 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c |  1 +
 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c | 13 +++++++++++--
 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c    |  6 ++++--
 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c  |  6 ++++--
 drivers/net/ethernet/stmicro/stmmac/hwif.h          |  6 +++---
 .../net/ethernet/stmicro/stmmac/stmmac_platform.c   |  8 ++++++++
 8 files changed, 34 insertions(+), 10 deletions(-)

-- 
2.31.1




More information about the linux-arm-kernel mailing list