Re: [PATCH 03/11] usb: make urb scatter-gather support more generic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 21 Aug 2009, David Vrabel wrote:

> > There's an advantage 
> > to always having a pointer to the data buffer available.  This is 
> > related to usbmon and those other changes in the DMA setup.
> 
> What data buffer?  There's nothing sensible you can point
> transfer_buffer or transfer_dma to so I don't see how it helps.

That's not entirely true.  If the data isn't in high memory then
sg_virt(sg) gives a useful address.  If the host controller doesn't
support DMA, for instance, this will always be true.

> usbmon is currently broken for urbs with sg lists.

It doesn't have to be completely broken.

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux