aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb/libusb20_int.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2016-06-16 14:26:04 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2016-06-16 14:26:04 +0000
commit5b40d9601c72fbb04f32437d529dbf51252dc31e (patch)
tree4d526c30986644cb58497ef2990bd8713ab7da91 /lib/libusb/libusb20_int.h
parent86bd190ce91e7fe8b020fc7c8603fdaafaf6af3c (diff)
downloadsrc-5b40d9601c72fbb04f32437d529dbf51252dc31e.tar.gz
src-5b40d9601c72fbb04f32437d529dbf51252dc31e.zip
Add support for libusb_set_auto_detach_kernel_driver() to the LibUSB v1.0 API.
Approved by: re (kostikbel) Requested by: swills MFC after: 1 week
Notes
Notes: svn path=/head/; revision=301966
Diffstat (limited to 'lib/libusb/libusb20_int.h')
-rw-r--r--lib/libusb/libusb20_int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libusb/libusb20_int.h b/lib/libusb/libusb20_int.h
index 27adf008dea5..7a1c515dff29 100644
--- a/lib/libusb/libusb20_int.h
+++ b/lib/libusb/libusb20_int.h
@@ -213,6 +213,9 @@ struct libusb20_device {
/* claimed interface */
uint8_t claimed_interface;
+ /* auto detach kernel driver */
+ uint8_t auto_detach;
+
/* device file handle */
int file;