[PATCH v5 net-next 0/2] update stmmac fix_mac_speed

From: Shenwei Wang
Date: Mon Aug 07 2023 - 12:08:04 EST


Changes in V5:
- fixed the typo in if condition reported by Russell.
- fixed the build errors in dwmac-sti.c reported by 'kernel test robot'.

Changes in V4:
- Keep the 'unsigned int' type specifier in the fix_mac_speed
function declarations.
- Move imx93_dwmac_fix_mac_speed into the SoC specific ops.
- Use a read back to replace the wmb() instruction.
- Correct the target to 'net-next'.

Changes in V3:
- fixed the build errors reported by 'kernel test robot'.
- Only perform clock pause in RGMII fixed-link usecase.

Changes in V2:
- Call fix_mac_speed() with new mode parameter added.
- reorg the function of imx_dwmac_fix_speed_mx93 by using the
mode parameter.

Shenwei Wang (2):
net: stmmac: add new mode parameter for fix_mac_speed
net: stmmac: dwmac-imx: pause the TXC clock in fixed-link

.../stmicro/stmmac/dwmac-dwc-qos-eth.c | 2 +-
.../net/ethernet/stmicro/stmmac/dwmac-imx.c | 45 ++++++++++++++++++-
.../stmicro/stmmac/dwmac-intel-plat.c | 4 +-
.../ethernet/stmicro/stmmac/dwmac-ipq806x.c | 2 +-
.../net/ethernet/stmicro/stmmac/dwmac-meson.c | 2 +-
.../stmicro/stmmac/dwmac-qcom-ethqos.c | 2 +-
.../net/ethernet/stmicro/stmmac/dwmac-rk.c | 2 +-
.../ethernet/stmicro/stmmac/dwmac-socfpga.c | 2 +-
.../ethernet/stmicro/stmmac/dwmac-starfive.c | 2 +-
.../net/ethernet/stmicro/stmmac/dwmac-sti.c | 8 ++--
.../net/ethernet/stmicro/stmmac/dwmac-sunxi.c | 2 +-
.../ethernet/stmicro/stmmac/dwmac-visconti.c | 2 +-
.../net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +-
include/linux/stmmac.h | 2 +-
14 files changed, 61 insertions(+), 18 deletions(-)

--
2.34.1