diff options
author | Ian Moffett <ian@osmora.org> | 2025-08-08 22:43:59 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-08-08 22:43:59 -0400 |
commit | e340a1ac2d38add56d8cdf52bd8f518a081758e5 (patch) | |
tree | a9feeed9f5f8f73db322326825a9ed1e51f69e5b /sys/dev/usb/xhci.c | |
parent | 55d02c0550b4111624c98d68ef53f0a33803cb2d (diff) |
kernel: xhci: Do not offset segment table base
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/dev/usb/xhci.c')
-rw-r--r-- | sys/dev/usb/xhci.c | 2 |
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 */ |