summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2009-09-02 12:14:28 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-10-05 09:32:53 -0700
commit1e7198c04256707887c996bc768e51225bca877e (patch)
tree45b8cc4931f99c4a4a583efd4bfac017c5f4ab65 /scripts
parent6b65d1c68d84f301a087f9874431780ed71b90d7 (diff)
downloadlinux-stable-1e7198c04256707887c996bc768e51225bca877e.tar.gz
linux-stable-1e7198c04256707887c996bc768e51225bca877e.tar.bz2
linux-stable-1e7198c04256707887c996bc768e51225bca877e.zip
USB: xhci: Support interrupt transfers.
commit 624defa12f304b4d11eda309bc207fa5a1900d0f upstream. Interrupt transfers are submitted to the xHCI hardware using the same TRB type as bulk transfers. Re-use the bulk transfer enqueueing code to enqueue interrupt transfers. Interrupt transfers are a bit different than bulk transfers. When the interrupt endpoint is to be serviced, the xHC will consume (at most) one TD. A TD (comprised of sg list entries) can take several service intervals to transmit. The important thing for device drivers to note is that if they use the scatter gather interface to submit interrupt requests, they will not get data sent from two different scatter gather lists in the same service interval. For now, the xHCI driver will use the service interval from the endpoint's descriptor (bInterval). Drivers will need a hook to poll at a more frequent interval. Set urb->interval to the interval that the xHCI hardware will use. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions