From cd3d7fef554a6299675a4962eb91faace34e99af Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 5 Apr 2024 20:02:03 -0400 Subject: kernel: xhci: Fix xhci_evring_segment structure Signed-off-by: Ian Moffett --- sys/include/dev/usb/xhcivar.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/include') diff --git a/sys/include/dev/usb/xhcivar.h b/sys/include/dev/usb/xhcivar.h index b36f2d9..ca9ccd4 100644 --- a/sys/include/dev/usb/xhcivar.h +++ b/sys/include/dev/usb/xhcivar.h @@ -81,10 +81,9 @@ struct xhci_proto { * See xHCI spec, section 6.5, table 6-40 */ struct __packed xhci_evring_segment { - uint8_t reserved : 5; - uint64_t base : 58; - uint16_t size; - uint32_t reserved1 : 17; + uint64_t base; + uint32_t size; + uint32_t reserved; }; /* -- cgit v1.2.3