diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-05 02:34:37 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-05 02:38:15 -0400 |
commit | 8799918c7d935703717f0b235d1dba09e400cf00 (patch) | |
tree | de65cde36079f182dbab459e1140117754c998bf /sys/include | |
parent | 9adc9f74d66366e72d83a2ca9142c394f5ad5e2c (diff) |
kernel: xhci: Workaround Dell USBLEGSUP quirk
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/dev/usb/xhcivar.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <sys/types.h> #include <sys/types.h> +#include <sys/param.h> #include <dev/usb/xhciregs.h> #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; |