]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'net-phy-fixed_phy-replace-list-of-fixed-phys-with-static-array'
authorJakub Kicinski <kuba@kernel.org>
Wed, 14 Jan 2026 02:58:52 +0000 (18:58 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 14 Jan 2026 02:58:52 +0000 (18:58 -0800)
commitf5d5c17b5fe59112370b11e0cc19497b7bb8a399
treedfda4f2d9b19d79bf73fba0c41bb88c55a6d92c0
parent8619e429d62f1706440a8efb91399395c4c4bdf3
parentca8934f80c4f386a08a4e6132a8943a8b0380ec7
Merge branch 'net-phy-fixed_phy-replace-list-of-fixed-phys-with-static-array'

Heiner Kallweit says:

====================
net: phy: fixed_phy: replace list of fixed PHYs with static array

Due to max 32 PHY addresses being available per mii bus, using a list
can't support more fixed PHY's. And there's no known use case for as
much as 32 fixed PHY's on a system. 8 should be plenty of fixed PHY's,
so use an array of that size instead of a list. This allows to
significantly reduce the code size and complexity.
In addition replace heavy-weight IDA with a simple bitmap.
====================

Link: https://patch.msgid.link/110f676d-727c-4575-abe4-e383f98fc38f@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>