]> 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)
commitaf69c62c9a44c1d1de02e6b8ed6ec0bb5a4200ab
treeefb1541eefb32e57bf619a8bd85748a31b283031
parent8cb2334ea9b685a243c7cd0ede15c386d3d8ad7f
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