On Fri, 18 May 2001, Oliver Neukum wrote:

>> >Would there be any use of this feature that couldn't be achieved by
>> >resubmission in the completion handler ?
>>
>> There is no reason that interrupt URB completion handlers can't do
>> resubmission either, but look at how it's currently handled.
>>
>> I'm trying to reduce the number of special cases in all of this, and
>> make everything *more consistent*.
>>
>> Special cases make things significantly more complicated than they have to
>> be.
>
>You do so by extending the properties of both cases to the respective other 
>case. While you make things consistent, you don't make them easier.
>
>USB has several kind of transfers. You'll be unable to reduce them to one.
>Thus IMHO you are much better of faithfully exposing the differences.

I'm not trying to hide the differences between URB types, just add a
urb->resubmit flag that is used when the decision to resubmit or not is made (by
the HCD).  Currently the HCD makes that decision based on URB type.

-- 
Dan Streetman
[EMAIL PROTECTED]


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to