I think I've got the answers to my questions now, and
DaveM provided some info for DMA-mapping.txt
to help make sure other folk get them too.

For USB device drivers:

- Buffers in URBs don't need to be aligned.  This is
  for data transfer buffers, also control setup packets.

- However the data buffers need to be allocated
  using __get_free_pages() or something using it
  (kmalloc, kmem_cache, skb_alloc, ...).

USB device drivers never see the additional
issues that USB Host Controller Drivers need
to deal with for QH/ED/TD data structures.

- Dave



_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to