opnsense-src/lib/libusb
Aymeric Wibo 4c556a4e8d libusb: implement libusb_get_parent
Newer versions of drivers such as libwacom (graphics tablets) or
libfprint (fingerprint scanners) call g_usb_device_get_parent.  This in
turn calls libusb_get_parent on platforms which implement it, and
returns NULL on platforms that don't.  This patch implements this
function on FreeBSD.

Reviewed by:	bapt, kevans
Differential Revision:	https://reviews.freebsd.org/D46992
2025-06-12 11:56:31 -05:00
..
libusb-0.1.pc.in Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
libusb-1.0.pc.in libusb: claim to be version 1.0.16 2024-06-28 12:18:34 -04:00
libusb-2.0.pc.in Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
libusb.3 libusb: implement libusb_get_parent 2025-06-12 11:56:31 -05:00
libusb.h libusb: implement libusb_get_parent 2025-06-12 11:56:31 -05:00
libusb01.c libusb: add SUPER_PLUS in speed enum. 2025-05-15 20:30:32 +02:00
libusb10.c libusb: implement libusb_get_parent 2025-06-12 11:56:31 -05:00
libusb10.h libusb: implement libusb_get_parent 2025-06-12 11:56:31 -05:00
libusb10_desc.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
libusb10_hotplug.c libusb: Emit event after deregistering hotplug handler 2025-05-08 14:20:21 -04:00
libusb10_io.c libusb: use eventfd 2025-05-15 16:24:46 +02:00
libusb20.3 libusb: add SUPER_PLUS in speed enum. 2025-05-15 20:30:32 +02:00
libusb20.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
libusb20.h libusb: add SUPER_PLUS in speed enum. 2025-05-15 20:30:32 +02:00
libusb20_desc.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
libusb20_desc.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
libusb20_int.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
libusb20_ugen20.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
libusb_global_linux.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
usb.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00