Date: Thu, 7 Mar 2019 17:52:09 +0530 From: Arpan Palit <babupalit@gmail.com> To: freebsd-drivers@freebsd.org, freebsd-hackers@freebsd.org Subject: How to access external PHY on MDIO bus? Message-ID: <CAF3txfhyhKgq0YOhn_XsPKKA2emVVFdgn9hQuA-4pWxkjmeGFg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I need to know how can I access the specific register offset in external phy freebsd. In linux the equivalent routine is phy_read/phy_write to read/write a specific register, which internally call the mdiobus_read/mdiobus_write function. I could see that there is a mdio_readreg/mdio_writereg MDIO interface present which is driven by stack, what if driver needs to do the same, is there any equivalent present or any other way to do that. Thanks, Arpan Palit
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF3txfhyhKgq0YOhn_XsPKKA2emVVFdgn9hQuA-4pWxkjmeGFg>