PHY drivers

achraf boussetta boussettaachraf26 at gmail.com
Thu Feb 29 02:02:38 EST 2024


Yes, a generic software reads at first the ID of the Phy using MDIO and
then if an ID has matched specific functions will be called.

Take a look at the realtek file for your reference:
https://elixir.bootlin.com/linux/latest/source/drivers/net/phy/realtek.c#L882


On Wed, 28 Feb 2024 at 15:49, Patryk <pbiel7 at gmail.com> wrote:

> Hi, I've got a question regarding phy drivers. Supposed that I want to use
> an ethernet phy device -  in general - do I need a specific driver to
> handle this, or is it handled by some generic eth phy layer that can
> configure (through MDIO) and exchange data (through XMII) in a generic,
> vendor-agnostic way?
>
> Best regards
> Patryk
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20240229/09d0f5d4/attachment.html>


More information about the Kernelnewbies mailing list