git: 8ddbb5e80099 - main - libusb: add libusb_usb_2_0_extension_attributes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Aug 2025 14:20:28 UTC
The branch main has been updated by aokblast:
URL: https://cgit.FreeBSD.org/src/commit/?id=8ddbb5e80099d80650b529128f1998a126f67e0a
commit 8ddbb5e80099d80650b529128f1998a126f67e0a
Author: ShengYi Hung <aokblast@FreeBSD.org>
AuthorDate: 2025-08-05 16:17:44 +0000
Commit: ShengYi Hung <aokblast@FreeBSD.org>
CommitDate: 2025-08-06 14:05:40 +0000
libusb: add libusb_usb_2_0_extension_attributes
Approved by: lwhsu (mentor), markj (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51745
---
lib/libusb/libusb.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/libusb/libusb.h b/lib/libusb/libusb.h
index 14a4e930ac91..30a07acb306e 100644
--- a/lib/libusb/libusb.h
+++ b/lib/libusb/libusb.h
@@ -172,6 +172,10 @@ enum libusb_iso_usage_type {
LIBUSB_ISO_USAGE_TYPE_IMPLICIT = 2,
};
+enum libusb_usb_2_0_extension_attributes {
+ LIBUSB_BM_LPM_SUPPORT = 0x2,
+};
+
enum libusb_bos_type {
LIBUSB_BT_WIRELESS_USB_DEVICE_CAPABILITY = 1,
LIBUSB_BT_USB_2_0_EXTENSION = 2,