summaryrefslogtreecommitdiff
path: root/sys/include/dev
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-05 20:02:03 -0400
committerIan Moffett <ian@osmora.org>2024-04-05 20:02:03 -0400
commitcd3d7fef554a6299675a4962eb91faace34e99af (patch)
treeecc13e238b3207c15da2c334515ce9bf31ee48de /sys/include/dev
parent0516521f8c8aeaa4c0deed0da0691246afb946a5 (diff)
kernel: xhci: Fix xhci_evring_segment structure
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev')
-rw-r--r--sys/include/dev/usb/xhcivar.h7
1 files changed, 3 insertions, 4 deletions
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;
};
/*