On Thu, Apr 20, 2000, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> I'd like to ask a few questions:
>
> 1.A short transfer can only happen during input, right ?
Yes
> 2.If I use the new URB API I can choose via flag whether status should
> report 'short transfer' or the request should wait till timeout, right ?
Yes
> 3.If a chain of URBs is submitted will execution stop once an error or
> short transfer occurs ?
Not really. It should continue on to the next URB. I can see the desire
to have it stop if any of the transfers failed tho.
> 4.Is it acceptable to submit an URB during handling of a callback ?
Yes
However, there are some restrictions in that case. Like it's harder to
get memory. I'd suggest allocating the URB in process context and then
submit it in interrupt context. That's still not perfect, but it'll
reduce the chances of getting an error.
JE
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]