Re: [linux-usb-devel] PATCH: scanner.c short reads cause application freeze

2002-10-05 Thread Stephan Feder
Pieter Nagel wrote: ... > However, I believe for 2.5 the loop should be rewritten as retry loop, > and the function should immediately return whatever it reads, like the > majority of drivers do. As a side effect, the number of retries on > TIMEOUT/NAK would change, so the TIMEOUT values for vario

[linux-usb-devel] isoc bandwidth calc!!!

2002-10-05 Thread invictus rm
hi , While implementing sensors for streaming data transfer(isoc) , i needed to know the isochronous bandwidth allocation scheme being followed in usb.c . To be more precise, the following lines, from usb.c if (!isoc) /* Input or Output */ { tmp = (8354L