From f8f118423c894a028a99e02e7eec7e85f785d919 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 24 Nov 2012 16:41:38 +0100 Subject: 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. --- sys/src/9/pc/usbohci.c | 1 - 1 file changed, 1 deletion(-) 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) -- cgit v1.2.3