diff options
author | hselasky <hselasky@FreeBSD.org> | 2013-02-13 12:35:17 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2013-02-13 12:35:17 +0000 |
commit | a40dc60f62a62caf12c402fff2a0756a7550a72e (patch) | |
tree | bd9f44c788357d73342a4ffabe096ed49372b919 /sys/dev/usb/usb_dev.h | |
parent | 6133fc8dbb41bc8c02588df00d5946dad1d4d98f (diff) | |
download | FreeBSD-src-a40dc60f62a62caf12c402fff2a0756a7550a72e.zip FreeBSD-src-a40dc60f62a62caf12c402fff2a0756a7550a72e.tar.gz |
Resolve a LOR after r246616. Protect control requests using the USB device
enumeration lock. Make sure all callers of usbd_enum_lock() check the return
value. Remove the control transfer specific lock. Bump the FreeBSD version
number, hence external USB modules may need to be recompiled due to a USB
device structure change.
MFC after: 1 week
Diffstat (limited to 'sys/dev/usb/usb_dev.h')
-rw-r--r-- | sys/dev/usb/usb_dev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_dev.h b/sys/dev/usb/usb_dev.h index 3c75701..f87ba53 100644 --- a/sys/dev/usb/usb_dev.h +++ b/sys/dev/usb/usb_dev.h @@ -84,6 +84,7 @@ struct usb_cdev_refdata { uint8_t is_write; /* location has write access */ uint8_t is_uref; /* USB refcount decr. needed */ uint8_t is_usbfs; /* USB-FS is active */ + uint8_t do_unlock; /* USB enum unlock needed */ }; struct usb_fs_privdata { |