[U-Boot] [PATCH v6 0/27] Add Driver Model support to network stack

Joe Hershberger joe.hershberger at gmail.com
Fri Mar 20 13:45:17 CET 2015


Hi Simon,

On Fri, Mar 20, 2015 at 7:17 AM, Simon Glass <sjg at chromium.org> wrote:
>
> +Tom, Vivek, Marek
>
> Hi Joe,
>
> On 11 March 2015 at 17:43, Joe Hershberger <joe.hershberger at ni.com> wrote:
> > Add support for the Ethernet MAC controllers.  Phy support will come
later.
> >
> > Switching from RFC to a patch series to be applied to dm/master as a
staging
> > area for this series to make it happen more quickly when the window
opens.
> >
> > If desired, let me know which of the non-DM related prerequisite
patches are
> > wanted for this release.
> >
> > I've added unit tests to verify functionality.
> >
> > There is an additional driver for sandbox that bridges to the RAW
> > Ethernet API in Linux which lets you test with real traffic. It now
> > supports localhost as well (the 'lo' interface).
> >
> > Changes in v6:
> > -Add function comments
> > -Addressed nits
> > -Check array index bounds
> > -Fix compile error on boards with CONFIG_API enabled
> > -Fix compile errors for other boards due to removed parameters
> > -Swallow -EAGAIN error in eth_rx()
> > -Updated function documentation
> >
>
> Looks great! I'm going to pick this up for u-boot-dm/next soon,
> putting it on top of the PCI series.

Excellent! I'm glad we were able to get this wrapped up before the merge
window opened. :D

> Small USB update:
>
> I've been fiddling with USB. I became inspired by your more ambitious
> conversion of Ethernet and decided to take USB a bit further (using
> driver model for all devices, not just controllers).

Cool!

> I have something I am becoming happy with but it does not support USB
> networking. Once I apply your series I will see if I can use driver
> model for that also either before or after I send the next version.

Awesome. I can't wait to get rid of usb_eth_initialize() and the usbethaddr
in the env. It should fit very cleanly into the DM.

Thanks,
-Joe


More information about the U-Boot mailing list