From e340a1ac2d38add56d8cdf52bd8f518a081758e5 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 8 Aug 2025 22:43:59 -0400 Subject: kernel: xhci: Do not offset segment table base Signed-off-by: Ian Moffett --- sys/dev/usb/xhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/usb') 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 */ -- cgit v1.2.3