[U-Boot] [PATCH u-boot 1/2] net: phy: Add support for accessing MMD PHY registers
Joe Hershberger
joe.hershberger at ni.com
Tue Jan 22 22:21:37 UTC 2019
On Wed, Jan 16, 2019 at 12:06 PM Carlo Caione <ccaione at baylibre.com> wrote:
>
> Two new helper functions (phy_read_mmd() and phy_write_mmd()) are added
> to allow access to the MMD PHY registers.
>
> The MMD PHY registers can be accessed by two means:
>
> 1. Using two new MMD access function hooks in the PHY driver. These
> functions can be implemented when the PHY driver does not support the
> standard IEEE Compatible clause 45 access mechanism described in clause
> 22 or if the PHY uses its own non-standard access mechanism.
>
> 2. The standard clause 45 access extensions to the MMD registers through
> the indirection registers (clause 22) in all the other cases.
>
> Signed-off-by: Carlo Caione <ccaione at baylibre.com>
This seems like a duplicate of https://patchwork.ozlabs.org/patch/1015782/
The command patch should probably be adapted to use that.
Thanks,
-Joe
More information about the U-Boot
mailing list