From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Hershberger Date: Fri, 20 Mar 2015 07:45:17 -0500 Subject: [U-Boot] [PATCH v6 0/27] Add Driver Model support to network stack In-Reply-To: References: <1425436881-10323-1-git-send-email-joe.hershberger@ni.com> <1426117465-16072-1-git-send-email-joe.hershberger@ni.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Fri, Mar 20, 2015 at 7:17 AM, Simon Glass wrote: > > +Tom, Vivek, Marek > > Hi Joe, > > On 11 March 2015 at 17:43, Joe Hershberger 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