[PATCH] ehci: add tt_usecs
commitd0384200f6b608e77fb5ddf7dfae1bf0e42c1c6e
authordavid-b@pacbell.net <david-b@pacbell.net>
Sun, 14 Aug 2005 01:44:58 +0000 (13 18:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Sep 2005 23:28:36 +0000 (8 16:28 -0700)
tree4ab0d9bcf70a42a2c75b7a4aca7a757e7085ee94
parente09711aef4180002241c7f2eab37390ddf40d6a0
[PATCH] ehci: add tt_usecs

This adds the field tt_usecs to ehci_qh and ehci_iso_stream, and sets it
appropriately when setting them up as periodic endpoints.  It records
the transation translator's think_time (added in last patch) plus the
downstream (i.e. low or full speed) bustime of the transfer associated
with each interrupt or iso frame, as calculated by usb_calc_bus_time.

Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-q.c
drivers/usb/host/ehci-sched.c
drivers/usb/host/ehci.h