aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb2/core/usb2_transfer.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb2/core/usb2_transfer.h')
-rw-r--r--sys/dev/usb2/core/usb2_transfer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb2/core/usb2_transfer.h b/sys/dev/usb2/core/usb2_transfer.h
index 698509c5e061..7e95be1a83f8 100644
--- a/sys/dev/usb2/core/usb2_transfer.h
+++ b/sys/dev/usb2/core/usb2_transfer.h
@@ -33,7 +33,7 @@
*/
struct usb2_done_msg {
struct usb2_proc_msg hdr;
- struct usb2_xfer_root *usb2_root;
+ struct usb2_xfer_root *xroot;
};
/*
@@ -46,17 +46,17 @@ struct usb2_xfer_root {
struct usb2_xfer_queue done_q;
struct usb2_done_msg done_m[2];
struct cv cv_drain;
-
struct usb2_dma_parent_tag dma_parent_tag;
-
struct usb2_process done_p;
+
void *memory_base;
- struct mtx *priv_mtx;
+ struct mtx *xfer_mtx; /* cannot be changed during operation */
struct usb2_page_cache *dma_page_cache_start;
struct usb2_page_cache *dma_page_cache_end;
struct usb2_page_cache *xfer_page_cache_start;
struct usb2_page_cache *xfer_page_cache_end;
- struct usb2_bus *bus;
+ struct usb2_bus *bus; /* pointer to USB bus (cached) */
+ struct usb2_device *udev; /* pointer to USB device */
uint32_t memory_size;
uint32_t setup_refcount;