> > So I'd prefer two buffers for cleaness' sake.
>
> Hmm, the read and write buffers are 8Kbytes each ... what was
> the architecture that shared 16 Kbyte cachelines?  :)

Are you sure they are aligned?
There otherwise would still be a problem at the edges.

> Actually, for those buffers I'd prefer to see the
> buffers allocated using usb_buffer_alloc(), so
> that on architectures that have DMA restrictions
> (SA-1111 for example) there'd be no extra "bounce"
> through a temporary DMA buffer.

Yes, that's even better.

        Regards
                Oliver



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to