Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 May 2026 15:23:04 +0000
From:      ShengYi Hung <aokblast@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 261002908ffd - main - libusb: Add libusb_endpoint_transfer_type enum
Message-ID:  <69fa0b58.1e127.63724f28@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by aokblast:

URL: https://cgit.FreeBSD.org/src/commit/?id=261002908ffd9f13d19d1c6be6f82edac26b6938

commit 261002908ffd9f13d19d1c6be6f82edac26b6938
Author:     ShengYi Hung <aokblast@FreeBSD.org>
AuthorDate: 2026-05-05 14:39:29 +0000
Commit:     ShengYi Hung <aokblast@FreeBSD.org>
CommitDate: 2026-05-05 15:22:47 +0000

    libusb: Add libusb_endpoint_transfer_type enum
    
    MFC after:      2 weeks
    Sponsored by:   The FreeBSD Foundation
---
 lib/libusb/libusb.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/libusb/libusb.h b/lib/libusb/libusb.h
index 623b56fb273b..46a2ed5eb8a6 100644
--- a/lib/libusb/libusb.h
+++ b/lib/libusb/libusb.h
@@ -119,6 +119,13 @@ enum libusb_endpoint_direction {
 
 #define	LIBUSB_TRANSFER_TYPE_MASK	0x03
 
+enum libusb_endpoint_transfer_type {
+	LIBUSB_ENDPOINT_TRANSFER_TYPE_CONTROL = 0,
+	LIBUSB_ENDPOINT_TRANSFER_TYPE_ISOCHRONOUS = 1,
+	LIBUSB_ENDPOINT_TRANSFER_TYPE_BULK = 2,
+	LIBUSB_ENDPOINT_TRANSFER_TYPE_INTERRUPT = 3,
+};
+
 enum libusb_transfer_type {
 	LIBUSB_TRANSFER_TYPE_CONTROL = 0,
 	LIBUSB_TRANSFER_TYPE_ISOCHRONOUS = 1,


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69fa0b58.1e127.63724f28>