From 8799918c7d935703717f0b235d1dba09e400cf00 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 5 May 2025 02:34:37 -0400 Subject: kernel: xhci: Workaround Dell USBLEGSUP quirk Signed-off-by: Ian Moffett --- sys/include/dev/usb/xhcivar.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/include/dev/usb') diff --git a/sys/include/dev/usb/xhcivar.h b/sys/include/dev/usb/xhcivar.h index 0488ad8..a9a8fc1 100644 --- a/sys/include/dev/usb/xhcivar.h +++ b/sys/include/dev/usb/xhcivar.h @@ -32,6 +32,7 @@ #include #include +#include #include #define XHCI_TIMEOUT 500 /* In ms */ @@ -41,6 +42,9 @@ #define XHCI_MAX_PROTOS 4 #define XHCI_IMOD_DEFAULT 0 +/* Quirks */ +#define XHCI_QUIRK_HANDOFF BIT(0) + /* * USB proto (USB 2.0 or 3.0) */ @@ -108,6 +112,7 @@ struct xhci_hc { uint32_t *evring; uint8_t maxslots; uint8_t cr_cycle : 1; + uint16_t quirks; size_t maxports; size_t protocnt; struct xhci_caps *caps; -- cgit v1.2.3