[PATCH net-next v3 0/3] Refine stmmac code

Tiezhu Yang posted 3 patches 1 month, 3 weeks ago
drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c      | 6 +++---
drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c | 7 ++++++-
drivers/net/ethernet/stmicro/stmmac/hwif.c           | 2 +-
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c    | 9 ++++++++-
include/linux/stmmac.h                               | 2 +-
5 files changed, 19 insertions(+), 7 deletions(-)
[PATCH net-next v3 0/3] Refine stmmac code
Posted by Tiezhu Yang 1 month, 3 weeks ago
Here are three small patches to refine stmmac code when debugging and
testing the problem "Failed to reset the dma".

v3:
  -- Add a new patch to change the first parameter of fix_soc_reset().
  -- Print an error message which gives a hint the PHY clock is missing.

v2:
  -- Update the commit message of patch #1 to explain the background.
  -- Add Reviewed-by tag for patch #2, no code changes.

Tiezhu Yang (3):
  net: stmmac: Check stmmac_hw_setup() in stmmac_resume()
  net: stmmac: Change first parameter of fix_soc_reset()
  net: stmmac: Return early if invalid in loongson_dwmac_fix_reset()

 drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c      | 6 +++---
 drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c | 7 ++++++-
 drivers/net/ethernet/stmicro/stmmac/hwif.c           | 2 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c    | 9 ++++++++-
 include/linux/stmmac.h                               | 2 +-
 5 files changed, 19 insertions(+), 7 deletions(-)

-- 
2.42.0