summaryrefslogtreecommitdiff
path: root/sys/src/9/port/usb.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-07-24 23:47:55 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2017-07-24 23:47:55 +0200
commita397bfd48c9b0f2f0d335752cb52f286afcf1ad7 (patch)
treed44e80fbb3ea9506b35fb580f31ba47a62485b3e /sys/src/9/port/usb.h
parent0b4ace02c469484c9f2a42fdc79ffe1d123d04d8 (diff)
usb: fix wrong pollival calculation in setmaxpkt()
Diffstat (limited to 'sys/src/9/port/usb.h')
-rw-r--r--sys/src/9/port/usb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/port/usb.h b/sys/src/9/port/usb.h
index 2853513e1..655ee4f4f 100644
--- a/sys/src/9/port/usb.h
+++ b/sys/src/9/port/usb.h
@@ -162,11 +162,11 @@ struct Ep
char* info; /* for humans to read */
long maxpkt; /* maximum packet size */
int ttype; /* tranfer type */
- ulong load; /* in µs, for a fransfer of maxpkt bytes */
+ ulong load; /* in µs, for a transfer of maxpkt bytes */
void* aux; /* for controller specific info */
int rhrepl; /* fake root hub replies */
int toggle[2]; /* saved toggles (while ep is not in use) */
- long pollival; /* poll interval ([µ]frames; intr/iso) */
+ long pollival; /* poll interval ([µ]frames; intr/iso) */
long hz; /* poll frequency (iso) */
long samplesz; /* sample size (iso) */
int ntds; /* nb. of Tds per µframe */