git: libusb: Implement v1.0 libusb_set_auto_detach_kernel_driver() API
Aaron LI
aly at crater.dragonflybsd.org
Sat Nov 8 21:24:18 PST 2025
commit fe983b2883932472dc6a2055a849f7814d93a898
Author: Aaron LI <aly at aaronly.me>
Date: Sun Nov 9 13:11:24 2025 +0800
libusb: Implement v1.0 libusb_set_auto_detach_kernel_driver() API
I noticed this function when I was porting the libusb_get_port_number()
function, so port this as well.
Obtained-from:
FreeBSD (commits 5b40d9601c72fbb04f32437d529dbf51252dc31e
and a3d81a8a8a4f8379b0870238ae417f7986d7d299)
Summary of changes:
lib/libusb/Makefile | 1 +
lib/libusb/libusb.3 | 11 +++++++++++
lib/libusb/libusb.h | 1 +
lib/libusb/libusb10.c | 28 +++++++++++++++++++++++++---
lib/libusb/libusb20.c | 6 ++++++
lib/libusb/libusb20_int.h | 3 +++
6 files changed, 47 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fe983b2883932472dc6a2055a849f7814d93a898
--
DragonFly BSD source repository
More information about the Commits
mailing list