diff options
Diffstat (limited to 'drivers/usb/host/whci/whcd.h')
-rw-r--r-- | drivers/usb/host/whci/whcd.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/usb/host/whci/whcd.h b/drivers/usb/host/whci/whcd.h index 24e94d983c5e..c80c7d93bc4a 100644 --- a/drivers/usb/host/whci/whcd.h +++ b/drivers/usb/host/whci/whcd.h | |||
@@ -84,6 +84,11 @@ struct whc { | |||
84 | * @len: the length of data in the associated TD. | 84 | * @len: the length of data in the associated TD. |
85 | * @ntds_remaining: number of TDs (starting from this one) in this transfer. | 85 | * @ntds_remaining: number of TDs (starting from this one) in this transfer. |
86 | * | 86 | * |
87 | * @bounce_buf: a bounce buffer if the std was from an urb with a sg | ||
88 | * list that could not be mapped to qTDs directly. | ||
89 | * @bounce_sg: the first scatterlist element bounce_buf is for. | ||
90 | * @bounce_offset: the offset into bounce_sg for the start of bounce_buf. | ||
91 | * | ||
87 | * Queued URBs may require more TDs than are available in a qset so we | 92 | * Queued URBs may require more TDs than are available in a qset so we |
88 | * use a list of these "software TDs" (sTDs) to hold per-TD data. | 93 | * use a list of these "software TDs" (sTDs) to hold per-TD data. |
89 | */ | 94 | */ |
@@ -97,6 +102,10 @@ struct whc_std { | |||
97 | int num_pointers; | 102 | int num_pointers; |
98 | dma_addr_t dma_addr; | 103 | dma_addr_t dma_addr; |
99 | struct whc_page_list_entry *pl_virt; | 104 | struct whc_page_list_entry *pl_virt; |
105 | |||
106 | void *bounce_buf; | ||
107 | struct scatterlist *bounce_sg; | ||
108 | unsigned bounce_offset; | ||
100 | }; | 109 | }; |
101 | 110 | ||
102 | /** | 111 | /** |