net: stmmac: mdio related cleanups
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest0 of 8 patches 1 replyApplied
- v10 of 8 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- add comments about 300MHz to commit message in patch 1
- fix incorrect usage of stmmac_sun8i_csr_to_mdc in patch 3
- fix BIT_u32()->BIT_U32() in patch 8
Patches in v2 Applied
None of the 8 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Maxime Chevallier |
|---|---|
| Series | R-b R-b R-b R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/8] net: stmmac: mdio related cleanups
Hi,
The first four patches clean up the MDC clock divisor selection code, turning the three different ways we choose a divisor into tabular form, rather than doing the selection purely in code.
Convert MDIO to use field_prep() which allows a non-constant mask to be used when preparing fields.
Then use u32 and the associated typed GENMASK for MDIO register field definitions.
Finally, an extra couple of patches that use appropriate types in struct mdio_bus_data.
v2:
- add comments about 300MHz to commit message in patch 1
- fix incorrect usage of stmmac_sun8i_csr_to_mdc in patch 3
- fix BIT_u32()->BIT_U32() in patch 8
drivers/net/ethernet/stmicro/stmmac/common.h | 10 +- drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 2 +- .../net/ethernet/stmicro/stmmac/dwmac-loongson.c | 11 +-- drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 9 +- .../net/ethernet/stmicro/stmmac/dwmac1000_core.c | 9 +- .../net/ethernet/stmicro/stmmac/dwmac100_core.c | 9 +- drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 9 +- .../net/ethernet/stmicro/stmmac/dwxgmac2_core.c | 18 ++-- drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 106 ++++++++++++--------- include/linux/stmmac.h | 6 +- 10 files changed, 92 insertions(+), 97 deletions(-)
Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!