> So all I/O buffers _must_ be allocated using kmalloc() 

Use GFP_DMA flag on the kmalloc() call, too, whenever possible.  


/* Flag - indicates that the buffer will be suitable for DMA.  Ignored
on some
   platforms, used as appropriate on others */

#define GFP_DMA         __GFP_DMA


This will help avoid bounce buffering on some systems.

-ch



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to