git: 1a382091363f - main - libusb: Add SSP and SSPx2 enum support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Nov 2026 03:02:43 UTC
The branch main has been updated by aokblast:
URL: https://cgit.FreeBSD.org/src/commit/?id=1a382091363f6549d329c4de263d9f7618616c14
commit 1a382091363f6549d329c4de263d9f7618616c14
Author: ShengYi Hung <aokblast@FreeBSD.org>
AuthorDate: 2026-05-22 15:37:22 +0000
Commit: ShengYi Hung <aokblast@FreeBSD.org>
CommitDate: 2026-11-02 03:02:10 +0000
libusb: Add SSP and SSPx2 enum support
Report the new kernel speeds as LIBUSB20_SPEED_SUPER_PLUS.
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57195
---
lib/libusb/libusb20_ugen20.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/libusb/libusb20_ugen20.c b/lib/libusb/libusb20_ugen20.c
index 7d5aa439197a..44abcec52923 100644
--- a/lib/libusb/libusb20_ugen20.c
+++ b/lib/libusb/libusb20_ugen20.c
@@ -324,6 +324,11 @@ ugen20_enumerate(struct libusb20_device *pdev, const char *id)
case USB_SPEED_SUPER:
pdev->usb_speed = LIBUSB20_SPEED_SUPER;
break;
+ case USB_SPEED_SUPER_PLUS:
+ case USB_SPEED_SUPER_PLUS_X2:
+ case USB_SPEED_SUPER_PLUS_GEN2_X2:
+ pdev->usb_speed = LIBUSB20_SPEED_SUPER_PLUS;
+ break;
default:
pdev->usb_speed = LIBUSB20_SPEED_UNKNOWN;
break;