ref: 917635888965d9c4dc1db508d76d0e2c7536a118
parent: 2d5ed3e5298086df28fd00d30b8b12484ee20e42
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Sat Nov 24 11:41:38 EST 2012
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.
--- a/sys/src/9/pc/usbohci.c
+++ b/sys/src/9/pc/usbohci.c
@@ -1147,7 +1147,6 @@
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)
--
⑨