[U-Boot] [RFC PATCH 09/13] dm: net: Adjust PHY interface to work with CONFIG_DM_ETH

Joe Hershberger joe.hershberger at gmail.com
Sun Mar 1 18:46:53 CET 2015


Hi Simon,

On Sun, Mar 1, 2015 at 10:33 AM, Simon Glass <sjg at chromium.org> wrote:
>
> When driver model is used for Ethernet a few functions are passed a
udevice
> instead of an eth_device. Also add a function to find a PHY type given its
> name. This will be used to decode the device tree node.

I'm a little surprised it was this little code to interact with phylib.
Nice.

> Finally, put a phy_interface field in struct eth_pdata since this is an
> important part of the platform data for Ethernet.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list