]> git.baikalelectronics.ru Git - kernel.git/commit
xhci 1.0: Set transfer burst last packet count field.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 20 Apr 2011 00:43:33 +0000 (17:43 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 2 May 2011 23:42:56 +0000 (16:42 -0700)
commit4dbf97f1433eb9fc293adf0eb5f861de8ab84961
treeefb1541eefb32e57bf619a8bd85748a31b283031
parenta22503f8b6a2d443b88b9170a4a49cc4182592fe
xhci 1.0: Set transfer burst last packet count field.

The xHCI 1.0 specification defines a new isochronous TRB field, called
transfer burst last packet count (TBLPC).  This field defines the number
of packets in the last "burst" of packets in a TD.  Only SuperSpeed
endpoints can handle more than one burst, so this is set to the number for
packets in a TD for all non-SuperSpeed devices (minus one, since the field
is zero based).

This patch should have no effect on host controllers that don't advertise
the xHCI 1.0 (0x100) version number in their hci_version field.

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