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

From
Heiner Kallweit <hkallweit1@gmail.com>
Date
2025-05-15 05:37:51
Also in
lkml
Reply to
Jakub Kicinski, 2025-05-15
On 15.05.2025 04:57, Jakub Kicinski wrote:
On Mon, 12 May 2025 12:10:08 -0400 Sean Anderson wrote:
quoted
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.
The functions should only be exported once there is a user.
Therefore I'd suggest to remove this patch from the series.
This one does not apply cleanly.
  
Thread (32 messages) 32 messages, 9 authors, last reply 2025-05-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help