
1 Mar
2015
1 Mar
'15
6:46 p.m.
Hi Simon,
On Sun, Mar 1, 2015 at 10:33 AM, Simon Glass sjg@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@chromium.org
Acked-by: Joe Hershberger joe.hershberger@ni.com