git: 9front

Download patch

ref: 4c96751045a7f0baf6b3a872c20ada9da1bcd5f8
parent: 6fe34402c3892aa7807f9c36ac32e772596ff431
parent: 0fe192bbc260725de0c2a7825832276eddd162fb
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat May 9 22:44:37 EDT 2020

merge

--- a/sys/src/9/port/usbxhci.c
+++ b/sys/src/9/port/usbxhci.c
@@ -1239,7 +1239,7 @@
 	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;
--