summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_device.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2010-04-22 22:00:16 +0000
committerthompsa <thompsa@FreeBSD.org>2010-04-22 22:00:16 +0000
commitc1641a7662c34455d591512b3c3c5e8f50b97531 (patch)
treeb9bf88397db259e84ca4243db76eb7ad77e9fd3b /sys/dev/usb/usb_device.h
parentb42af4d929f529c1ee9b391eb3616582b2708e66 (diff)
downloadFreeBSD-src-c1641a7662c34455d591512b3c3c5e8f50b97531.zip
FreeBSD-src-c1641a7662c34455d591512b3c3c5e8f50b97531.tar.gz
Properly name the sxlocks, mutexes and condvars.
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 3afdecf..f497949 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;
OpenPOWER on IntegriCloud