]> git.baikalelectronics.ru Git - kernel.git/commit
USB: introduce usb_device_no_sg_constraint() helper
authorMing Lei <ming.lei@canonical.com>
Thu, 8 Aug 2013 13:48:22 +0000 (21:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 18:56:16 +0000 (11:56 -0700)
commit42e6b62c5883543d32580743425d905186fd98e5
tree887e24d1dc2f7701dae13ec2d071ee71cdddccdc
parent3bc6fc277ba9fc9197b11dca66e2605a83792317
USB: introduce usb_device_no_sg_constraint() helper

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.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/urb.c
include/linux/usb.h