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@xxxxxxxxx> 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 regardsPatryk
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies