Hi, On 2 April 2015 at 01:50, Albert ARIBAUD <albert.u.b...@aribaud.net> wrote: > > Hello Simon, > > On Mon, 30 Mar 2015 12:03:41 -0600, Simon Glass <s...@chromium.org> > wrote: > > > Also you can argue that buffer management is a reasonable thing to > > provide a method for. Using a buffer to receive a packet, sending that > > packet for processing, and retiring the buffer are all conceptually > > separate things. We could even consider (in the future!) supporting a > > buffer ring in the uclass since all of the drivers I have looked at > > have one. > > Just in case: remember that some drivers use SRAM-based buffers while > others use DDR-based buffers. Buffer management should support either > use case. Also, there's more than just buffers; descriptors might be > needed too -- whether they should be generalized or not, I have no > clear idea, though.
Me neither, it's not important for now. If we identify common areas in the drivers another way is to add library code to the uclass which some drivers can call. Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot