On Wed, 4 Feb 2009, David Vrabel wrote: > Here's a new version of the patch: > > No new fields are added to struct urb. urb->transfer_buffer points to a > struct sg_table if urb->transfer_flags & URB_HAS_SG. > > The sg table stores both the original number of entries and the number > of DMA mapped entries allowing HCDs to choose whether to iterate over > the DMA mapped entries or the original unmapped ones. You also need to set URB_NO_TRANSFER_DMA_MAP in transfer_flags; otherwise the core will try to do its own DMA mapping. Apart from that, I don't see anything wrong with this. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html