diff options
author | David Vrabel <david.vrabel@csr.com> | 2009-08-24 10:02:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 14:55:14 -0500 |
commit | 294a39e7829dfd663e6c5c94cede0c6a0c13e37f (patch) | |
tree | c9157a84b52aa64f29ce445e1e86a4f4523d8d39 /drivers/usb/host/whci/whci-hc.h | |
parent | 4c1bd3d7a7d114dabd58f62f386ac4bfd268be1f (diff) |
USB: whci-hcd: support urbs with scatter-gather lists
Support urbs with scatter-gather lists by trying to fit sg list elements
into page lists in one or more qTDs. qTDs must end on a wMaxPacketSize
boundary so if this isn't possible the urb's sg list must be copied into
bounce buffers.
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/whci/whci-hc.h')
-rw-r--r-- | drivers/usb/host/whci/whci-hc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/host/whci/whci-hc.h b/drivers/usb/host/whci/whci-hc.h index e8d0001605be..d5e5c3aacced 100644 --- a/drivers/usb/host/whci/whci-hc.h +++ b/drivers/usb/host/whci/whci-hc.h | |||
@@ -267,8 +267,9 @@ struct whc_qset { | |||
267 | unsigned reset:1; | 267 | unsigned reset:1; |
268 | struct urb *pause_after_urb; | 268 | struct urb *pause_after_urb; |
269 | struct completion remove_complete; | 269 | struct completion remove_complete; |
270 | int max_burst; | 270 | uint16_t max_packet; |
271 | int max_seq; | 271 | uint8_t max_burst; |
272 | uint8_t max_seq; | ||
272 | }; | 273 | }; |
273 | 274 | ||
274 | static inline void whc_qset_set_link_ptr(u64 *ptr, u64 target) | 275 | static inline void whc_qset_set_link_ptr(u64 *ptr, u64 target) |