]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'net-stmmac-mdio-related-cleanups'
authorJakub Kicinski <kuba@kernel.org>
Fri, 6 Mar 2026 23:39:12 +0000 (15:39 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Mar 2026 23:39:13 +0000 (15:39 -0800)
commitdb29970799e499b88fea048d8a3ad81bd95672c9
tree763a14552bc94e7516a06178dbe9735f9ce9cf03
parent507ccb668f2db1377defdc54068eab3398bd5974
parente4fd855c52ec5af34d920206190be29919fadca3
Merge branch 'net-stmmac-mdio-related-cleanups'

Russell King says:

====================
net: stmmac: mdio related cleanups

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

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