]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'net-stmmac-cleanups-and-low-priority-fixes'
authorJakub Kicinski <kuba@kernel.org>
Tue, 13 Jan 2026 02:02:13 +0000 (18:02 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 13 Jan 2026 02:02:13 +0000 (18:02 -0800)
commitd2f59bf97579404c3735a6d0bc1739cf2d387925
tree47010c11a8cf0b02d43ad23d06a0bddd95d5b73e
parent5c024716f52bb8b683ff7c85c574a49644a1f299
parent5a78fd3debad050f9fe4aa701d93457cc288bdf9
Merge branch 'net-stmmac-cleanups-and-low-priority-fixes'

Russell King says:

====================
net: stmmac: cleanups and low priority fixes

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.
====================

Link: https://patch.msgid.link/aV_q2Kneinrk3Z-W@shell.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>