summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/usbohci.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-11-24 16:41:38 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2012-11-24 16:41:38 +0100
commitf8f118423c894a028a99e02e7eec7e85f785d919 (patch)
tree355ecf274e3cf634e1525c5f4d90a499fca1f203 /sys/src/9/pc/usbohci.c
parentaadc58104016170b61b62a31daa295895a640b60 (diff)
usbohci: revert td overrun error handling change from sources
regarding the ohci spec, a overrun td might supply a full packet of data. this change seemed to have caused nusb/kb to fail with getting spurious zero byte reads. reverting for now.
Diffstat (limited to 'sys/src/9/pc/usbohci.c')
-rw-r--r--sys/src/9/pc/usbohci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/src/9/pc/usbohci.c b/sys/src/9/pc/usbohci.c
index 93428c3d2..a1a5dc0b5 100644
--- a/sys/src/9/pc/usbohci.c
+++ b/sys/src/9/pc/usbohci.c
@@ -1147,7 +1147,6 @@ qhinterrupt(Ctlr *, Ep *ep, Qio *io, Td *td, int)
switch(err){
case Tddataovr: /* Overrun is not an error */
- break;
case Tdok:
/* virtualbox doesn't always report underflow on short packets */
if(td->cbp == 0)