On Wed, 15 Jan 2003, David Brownell wrote:

>oliverthered wrote:
>> On Wed, 2003-01-15 at 17:42, David Brownell wrote:
>> 
>>>>+           if(!(ep_desc = usb_epnum_to_ep_desc(ps->dev, uurb.endpoint)))
>>>>+                   return -ENOENT;
>>>>+           interval = ep_desc->bInterval;
>>>>+           
>>>
>>>Shouldn't it be "interval = 1 << (ep_desc->bInterval -1);" instead?
>>>For iso, bInterval is always a log2 encoding.
>> 
>> 
>> Is this also true for interrupt or just ISO?
>
>What it says in the USB 2.0 spec:  true for high speed interrupt
>as well as all ISO endpoints.
>
>Full and low speed interrupt endpoints use a linear encoding
>(with an effective max interval 128msec).

Hmm, so should the conversion from bInterval to ms-interval happen in the 
driver, or in the core?  It seems to me that it would be better to handle 
that conversion in the core...?



-- 
Dan Streetman
[EMAIL PROTECTED]
---------------------
186,272 miles per second:
It isn't just a good idea, it's the law!


-------------------------------------------------------
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to