From f5325a0dec76f15ce2d0ba28719cc78710b63574 Mon Sep 17 00:00:00 2001
From: Ian Moffett <ian@osmora.org>
Date: Fri, 5 Apr 2024 20:03:21 -0400
Subject: kernel: xhci: Add xhci_init_evring()

Add event ring init routine

Signed-off-by: Ian Moffett <ian@osmora.org>
---
 sys/include/dev/usb/xhcivar.h | 1 +
 1 file changed, 1 insertion(+)

(limited to 'sys/include/dev/usb')

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;
-- 
cgit v1.2.3