Re: PHY ID value

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 14 Oct 2024 22:36:57 UTC
On Mon, Oct 7, 2024 at 7:05 AM orbit <ordinarybit@proton.me> wrote:

> Hi,
>
> In the miidevs file here
> https://cgit.freebsd.org/src/plain/sys/dev/mii/miidevs, there are list of
> OUIs and PHYs. OUIs are easily obtained as unique identification of a
> vendor or manufacturer but how do the PHY ID values were obtained? Let's
> say for example, the 0x0020 value of Realtek RTL8201L PHY?
>

Those generally come from the datasheet, or sometimes from the printf from
the kernel when we can't match the ID.

Warner