aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_device.h
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2010-04-22 22:00:16 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2010-04-22 22:00:16 +0000
commit91cd92400fc6fa107e8b2b60140d2675e9f78020 (patch)
treeb9bf88397db259e84ca4243db76eb7ad77e9fd3b /sys/dev/usb/usb_device.h
parent0d92ac2a9240a76521908970dd2ea0406c973ba6 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/usb_device.h')
-rw-r--r--sys/dev/usb/usb_device.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/usb/usb_device.h b/sys/dev/usb/usb_device.h
index 3afdecf3ae94..f497949f09c1 100644
--- a/sys/dev/usb/usb_device.h
+++ b/sys/dev/usb/usb_device.h
@@ -113,9 +113,11 @@ struct usb_power_save {
struct usb_device {
struct usb_clear_stall_msg cs_msg[2]; /* generic clear stall
* messages */
- struct sx default_sx[2];
- struct mtx default_mtx[1];
- struct cv default_cv[2];
+ struct sx ctrl_sx;
+ struct sx enum_sx;
+ struct mtx device_mtx;
+ struct cv ctrlreq_cv;
+ struct cv ref_cv;
struct usb_interface *ifaces;
struct usb_endpoint default_ep; /* Control Endpoint 0 */
struct usb_endpoint *endpoints;