On Mon, 10 Mar 2003 19:36:04 +0100 Oliver Neukum <[EMAIL PROTECTED]> wrote:

| Am Montag, 10. März 2003 13:59 schrieb Duncan Sands:
| > Hi all, must the transfer_buffer I provide with an urb be
| > aligned on, say, a double-word boundary or something like
| > that?
| 
| The alignment requirements are specific to the hardware that happens
| to be used. kmalloc() will return properly aligned memory.

and only use kmalloc-ed memory (or get_free_page()), not local stack storage.
This way there will be no DMA problems either.

--
~Randy


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