]> 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)
commita22503f8b6a2d443b88b9170a4a49cc4182592fe
tree21613030a78a24dab98cbcffd3a59c4d8f111e8d
parent7568eb99f6a761e42239a3194f02f275ad0823a7
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