summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-08-08 22:43:59 -0400
committerIan Moffett <ian@osmora.org>2025-08-08 22:43:59 -0400
commite340a1ac2d38add56d8cdf52bd8f518a081758e5 (patch)
treea9feeed9f5f8f73db322326825a9ed1e51f69e5b
parent55d02c0550b4111624c98d68ef53f0a33803cb2d (diff)
kernel: xhci: Do not offset segment table base
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--sys/dev/usb/xhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/xhci.c b/sys/dev/usb/xhci.c
index f18e1a9..89d1b17 100644
--- a/sys/dev/usb/xhci.c
+++ b/sys/dev/usb/xhci.c
@@ -268,7 +268,7 @@ xhci_init_evring(struct xhci_hc *hc)
/* setup the event ring segment */
segtab->base = VIRT_TO_PHYS(tmp_p);
- segtab->base = ((uintptr_t)segtab->base) + (2 * 4096) & ~0xF;
+ segtab->base = ((uintptr_t)segtab->base);
segtab->size = XHCI_EVRING_LEN;
/* Setup the event ring dequeue pointer */