Re: PHY drivers

achraf boussetta <[email protected]>
Newsgroups gmane.linux.kernel.kernelnewbies
Message-ID <CAA22Xg7+a9Cu2=YQ_Sz3EyOztZpBuZv_HDwW2qFSMSzw8OYAAA@mail.gmail.com>
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 <[email protected]> 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
> [email protected]
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.