net: stmmac: cleanups and low priority fixes
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 9 patches 0 repliesApplied
- v10 of 9 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Add Maxime Chevallier's reviewed-by
- Improve some commit descriptions
- Fix build errors due to missed dwmac-loongson.c usage of SHIFT constants in patch 7.
Patches in v2 Applied
None of the 9 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 R-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/9] net: stmmac: cleanups and low priority fixes
Hi,
Further cleanups and a few low priority fixes:
- Remove duplicated register definitions from header files
- Fix harmless wrong definition used for PTP message type in descriptors
- Fix norm_set_tx_desc_len_on_ring() off-by-one error (and make enh_set_tx_desc_len_on_ring() follow a similar pattern.) Document the buffer size limits. I believe we never call norm_set_tx_desc_len_on_ring() with 2KiB lengths.
- use u32 rather than unsigned int for 32-bit quantities in descriptors
- modernise: convert to use FIELD_PREP() rather than separate mask and shift definitions.
- Reorganise register and register field definitions: registers defined in address offset order followed by their register field definitions.
- Remove lots of unused register definitions.
v2:
- Add Maxime Chevallier's reviewed-by
- Improve some commit descriptions
- Fix build errors due to missed dwmac-loongson.c usage of SHIFT constants in patch 7.
drivers/net/ethernet/stmicro/stmmac/descs.h | 7 - drivers/net/ethernet/stmicro/stmmac/descs_com.h | 48 +++--- .../net/ethernet/stmicro/stmmac/dwmac-loongson.c | 5 +- .../net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 5 +- drivers/net/ethernet/stmicro/stmmac/dwmac100.h | 36 +---- drivers/net/ethernet/stmicro/stmmac/dwmac1000.h | 70 +-------- .../net/ethernet/stmicro/stmmac/dwmac1000_core.c | 21 ++- .../net/ethernet/stmicro/stmmac/dwmac1000_dma.c | 16 +- .../net/ethernet/stmicro/stmmac/dwmac100_core.c | 2 +- drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c | 3 +- drivers/net/ethernet/stmicro/stmmac/dwmac4.h | 79 ++-------- drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 28 ++-- drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c | 70 ++++----- drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.h | 8 - drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c | 40 ++--- drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h | 164 +++++++------------- drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c | 2 +- drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h | 172 +++++++++------------ drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c | 10 +- drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h | 40 +---- .../net/ethernet/stmicro/stmmac/dwxgmac2_core.c | 21 +-- .../net/ethernet/stmicro/stmmac/dwxgmac2_descs.c | 39 ++--- drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c | 75 ++++----- drivers/net/ethernet/stmicro/stmmac/enh_desc.c | 27 ++-- drivers/net/ethernet/stmicro/stmmac/norm_desc.c | 25 ++- 25 files changed, 348 insertions(+), 665 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!