diff options
| author | Heiner Kallweit <hkallweit1@gmail.com> | 2026-01-11 13:41:39 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-13 18:58:49 -0800 |
| commit | 511cb45260228e19c4659d67251267d5dadceaac (patch) | |
| tree | 1996be8dc27060017aa7c85e5a48d51358eef2fc /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 8619e429d62f1706440a8efb91399395c4c4bdf3 (diff) | |
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.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/8610d30c-eac7-4100-9008-d3b6cee6a5cd@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
