[PATCH v2 1/4] USB: introduce usb_device_no_sg_constraint() helper

2013-08-05 Thread Ming Lei
Some host controllers(such as xHCI) can support building packet from discontinuous buffers, so introduce one flag and helper for this kind of host controllers, then the feature can help some applications(such as usbnet) by supporting arbitrary length of sg buffers. Cc: Alan Stern

Re: [PATCH v2 1/4] USB: introduce usb_device_no_sg_constraint() helper

2013-08-05 Thread Alan Stern
On Mon, 5 Aug 2013, Ming Lei wrote: Some host controllers(such as xHCI) can support building packet from discontinuous buffers, so introduce one flag and helper for this kind of host controllers, then the feature can help some applications(such as usbnet) by supporting arbitrary length of sg

Re: [PATCH v2 1/4] USB: introduce usb_device_no_sg_constraint() helper

2013-08-05 Thread Ming Lei
On Mon, Aug 5, 2013 at 10:07 PM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 5 Aug 2013, Ming Lei wrote: Some host controllers(such as xHCI) can support building packet from discontinuous buffers, so introduce one flag and helper for this kind of host controllers, then the feature