summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-05-10 02:44:37 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-05-10 02:44:37 +0200
commit662aff21a83a9159ed3ffb0d14ebeafecaecf762 (patch)
treec87d1db8026df3b604ab5cb0107f276e1c6fc597
parentbfc8cdfff5aba1da7ddef1c2ef7e1167f8dd2e8d (diff)
parentc474179f9a6428bb81a78d20f43cf982125d5d34 (diff)
downloadplan9front-662aff21a83a9159ed3ffb0d14ebeafecaecf762.tar.xz
merge
-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;