summaryrefslogtreecommitdiff
path: root/sys/include/dev/usb
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-05 20:03:21 -0400
committerIan Moffett <ian@osmora.org>2024-04-05 20:05:53 -0400
commitf5325a0dec76f15ce2d0ba28719cc78710b63574 (patch)
tree49c282f1fa0bcc9c5a6b5fb36d163a75b2270632 /sys/include/dev/usb
parentcd3d7fef554a6299675a4962eb91faace34e99af (diff)
kernel: xhci: Add xhci_init_evring()
Add event ring init routine Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev/usb')
-rw-r--r--sys/include/dev/usb/xhcivar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/dev/usb/xhcivar.h b/sys/include/dev/usb/xhcivar.h
index ca9ccd4..71c1f20 100644
--- a/sys/include/dev/usb/xhcivar.h
+++ b/sys/include/dev/usb/xhcivar.h
@@ -100,6 +100,7 @@ struct xhci_hc {
uint16_t cmd_ptr; /* Command ring index */
uint16_t cmd_count; /* Command ring entry count */
uint32_t *cmd_ring;
+ uint32_t *event_ring;
struct xhci_opregs *opregs;
struct xhci_proto protos[XHCI_MAX_PROTOS];
struct xhci_evring_segment *evring_seg;