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

Simon Glass sjg at chromium.org
Fri Mar 20 13:17:50 CET 2015


+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.

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).

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.

Regards,
Simon


More information about the U-Boot mailing list