summaryrefslogtreecommitdiff
path: root/sys/src/9/omap/usbehciomap.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-07-17 10:24:50 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-07-17 10:24:50 +0200
commit19a883ce7a8b0d1f57a1df68947af2bfa7ea5576 (patch)
tree2fa24248e0399ffb1a1b49ae3b9400d542cf118b /sys/src/9/omap/usbehciomap.c
parenta4688b03228dfdebcde34570b2a7b5c79db31c79 (diff)
usbehci: introduce dmaflush() function to handle portable cache invalidation for device drivers
Diffstat (limited to 'sys/src/9/omap/usbehciomap.c')
-rw-r--r--sys/src/9/omap/usbehciomap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/omap/usbehciomap.c b/sys/src/9/omap/usbehciomap.c
index 0634db69c..8be97c323 100644
--- a/sys/src/9/omap/usbehciomap.c
+++ b/sys/src/9/omap/usbehciomap.c
@@ -53,7 +53,7 @@ ehcireset(Ctlr *ctlr)
}
/* requesting more interrupts per µframe may miss interrupts */
- opio->cmd |= Citc8; /* 1 intr. per ms */
+ opio->cmd |= 0x10000; /* 1 intr. per ms */
coherence();
switch(opio->cmd & Cflsmask){
case Cfls1024:
@@ -180,7 +180,7 @@ reset(Hci *hp)
ctlr->tdalloc = ucallocalign;
ctlr->dmaalloc = ucalloc;
- cltr->dmafree = ucfree;
+ ctlr->dmafree = ucfree;
ehcireset(ctlr);
ehcimeminit(ctlr);