[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: Does FreeBSD has a generic PHY library as in Linux?
From: Rajesh Kumar <rajfbsd () gmail ! com>
Date: 2020-03-28 11:14:06
Message-ID: CAAO+ANPgvLeysLnSzR3xhD3Kt1Qyjpm8J8_58=FSOwwi+jXJ1g () mail ! gmail ! com
[Download RAW message or body]
Thank you all for the response . I will go through the MIIBUS stuff and
come back if I have any questions.
Thanks,
Rajesh.
On Sat, Mar 28, 2020 at 12:18 AM Stefan Eßer <se@freebsd.org> wrote:
> Am 26.03.20 um 19:36 schrieb Rajesh Kumar:
> > 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?
>
> See
>
> https://wiki.freebsd.org/MIIBUS
>
> for initial information about the miibus driver that covers most
> PHYs supported by FreeBSD Ethernet devices.
>
> The miibus(4) man-page contains a list of devices that use this
> interface and which might be useful as examples for its use:
>
> https://www.freebsd.org/cgi/man.cgi?miibus(4)
>
> Regards, STefan
>
_______________________________________________
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"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic