Re: [v4] usb: UHCI: fix pkt size in TD for a sg element

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

 



On Tue, Jun 25, 2013 at 12:26 AM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
>
> Other than usbtest, the only driver using SG that I know of is
> usb-storage, and it does make that assumption.  It works because the

Another example is usbfs driver, which sets the SG size as 16KB and also
makes the assumption.

> block layer packages the I/O up into groups of pages and the bulk
> maxpacket values always divide 4096 (or whatever the page size happens
> to be) -- except for wireless USB.



Thanks,
-- 
Ming Lei
--
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