Does FreeBSD has a generic PHY library as in Linux?

Oliver Pinter oliver.pntr at gmail.com
Fri Mar 27 18:19:17 UTC 2020


On Thursday, March 26, 2020, Rajesh Kumar <rajfbsd at gmail.com> wrote:

> Hi,
>
> I am porting a network driver from Linux to FreeBSD.  The driver in Linux
> uses the PHY library (a generic wrapper) to access/config the PHY
> registers. Do we have anything equivalent in FreeBSD?
>
> PHY library routines in Linux:
>
> get_phy_device
> phy_device_register
> phy_attach_direct
> phy_start_aneg
> etc.,
>
> FreeBSD being a stable OS for networking and Storage, I assume it should
> have something equivalent to this.  Can anyone point to it? or any
> documentation related to this?


I'm not 100% confident, there is an "iflib" in the kernel.


>
> Thanks,
> Rajesh.
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>


More information about the freebsd-drivers mailing list