]> git.baikalelectronics.ru Git - kernel.git/commit
xhci 1.0: Set transfer burst count field.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 8 Apr 2011 16:37:29 +0000 (09:37 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 2 May 2011 23:42:56 +0000 (16:42 -0700)
commit8cb2334ea9b685a243c7cd0ede15c386d3d8ad7f
tree21613030a78a24dab98cbcffd3a59c4d8f111e8d
parent8ac542a5117d46b58ce81deba4156f7c6d8a60fc
xhci 1.0: Set transfer burst count field.

The xHCI 1.0 specification adds a new field to the fourth dword in an
isochronous TRB: the transfer burst count (TBC).  This field is only
non-zero for SuperSpeed devices.  Each SS endpoint sets the bMaxBurst
field in the SuperSpeed endpoint companion descriptor, which indicates how
many max-packet-sized "bursts" it can handle in one service interval.  The
device driver may choose to burst less max packet sized chunks each
service interval (which is defined by one TD).  The xHCI driver indicates
to the host controller how many bursts it needs to schedule through the
transfer burst count field.

This patch will only effect xHCI hosts that advertise 1.0 support (0x100)
in the HCI version field of their capabilities register.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.h