Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2020 19:13:08 +0100
From:      Oliver Pinter <oliver.pntr@gmail.com>
To:        Rajesh Kumar <rajfbsd@gmail.com>
Cc:        "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org>,  FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Does FreeBSD has a generic PHY library as in Linux?
Message-ID:  <CAPjTQNEdAaWKLObaEw_-Vz1mLPC8stQkfE=SLZ9zcz2bMcioZA@mail.gmail.com>
In-Reply-To: <CAAO%2BANOghLzHBMh94akX0x_iTBGSxK=2sqj45GH_-26i5u=zMA@mail.gmail.com>
References:  <CAAO%2BANOghLzHBMh94akX0x_iTBGSxK=2sqj45GH_-26i5u=zMA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, March 26, 2020, Rajesh Kumar <rajfbsd@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPjTQNEdAaWKLObaEw_-Vz1mLPC8stQkfE=SLZ9zcz2bMcioZA>