summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/9/port/usbxhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/usbxhci.c b/sys/src/9/port/usbxhci.c
index ab30aa040..f9b61438e 100644
--- a/sys/src/9/port/usbxhci.c
+++ b/sys/src/9/port/usbxhci.c
@@ -1239,7 +1239,7 @@ epopen(Ep *ep)
slot->nep = 1;
ring->slot = slot;
ring->doorbell = &ctlr->dba[slot->id];
- ring->ctx = &slot->obase[8];
+ ring->ctx = &slot->obase[8<<ctlr->csz];
/* (input) control context */
w = slot->ibase;