diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2013-10-11 11:29:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-11 19:45:43 -0400 |
commit | 7c4bb942986fc2aa7ca4fccfed665d24525a0e21 (patch) | |
tree | 097e7f0bcf40b66b367df012e2a004c0c69d28e8 /include/linux/usb | |
parent | d0ce5c6b9208c79fc725c578eebdeb5724faf17d (diff) |
USB: add a private-data pointer to struct usb_tt
For improved scheduling of transfers through a Transaction Translator,
ehci-hcd will need to store a bunch of information associated with the
FS/LS bus on the downstream side of the TT. This patch adds a pointer
for such HCD-private data to the usb_tt structure.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/hcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h index dbe3cd19ffd8..b8aba196f7f1 100644 --- a/include/linux/usb/hcd.h +++ b/include/linux/usb/hcd.h | |||
@@ -506,6 +506,7 @@ struct usb_tt { | |||
506 | struct usb_device *hub; /* upstream highspeed hub */ | 506 | struct usb_device *hub; /* upstream highspeed hub */ |
507 | int multi; /* true means one TT per port */ | 507 | int multi; /* true means one TT per port */ |
508 | unsigned think_time; /* think time in ns */ | 508 | unsigned think_time; /* think time in ns */ |
509 | void *hcpriv; /* HCD private data */ | ||
509 | 510 | ||
510 | /* for control/bulk error recovery (CLEAR_TT_BUFFER) */ | 511 | /* for control/bulk error recovery (CLEAR_TT_BUFFER) */ |
511 | spinlock_t lock; | 512 | spinlock_t lock; |