# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/05/3055835
- Thread: https://ratatoskr.run/netdev/2025/05/3051778/t.md

```text
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
```
