Thread (32 messages) 32 messages, 9 authors, 2025-05-22

Re: [net-next PATCH v4 06/11] net: phy: Export some functions

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-05-15 02:57:17
Also in: lkml

On Mon, 12 May 2025 12:10:08 -0400 Sean Anderson wrote:
Export a few functions so they can be used outside the phy subsystem:

get_phy_c22_id is useful when probing MDIO devices which present a
phy-like interface despite not using the Linux ethernet phy subsystem.

mdio_device_bus_match is useful when creating MDIO devices manually
(e.g. on non-devicetree platforms).

At the moment the only (future) user of these functions selects PHYLIB,
so we do not need fallbacks for when CONFIG_PHYLIB=n.
This one does not apply cleanly.
-- 
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help