Hi,

We are using TDI based High speed USB EHCI controller.

Linux version is 2.6.12

I think that I see the problem with scheduling on Interrupt endpoints.

When High speed USB device has Interrupt endpoint with bInterval value
1, 
it means that polling on Interrupt endpoint should be done on each
uframe 2 ^ (1-1) = 1;

When Interrupt endpoint has bInterval value = 2, it means that 
polling on Interrupt endpoint should be done on each second uframe 2 ^
(2-1) = 2;

Function qh_make() in the file ehci-q.c don't allow to use endpoints
with bInterval = 2.
See the following portion of code on line 668:
                        qh->period = urb->interval >> 3;
                        if (qh->period == 0 && urb->interval != 1) {
                                /* NOTE interval 2 or 4 uframes could
work.
                                 * But interval 1 scheduling is simpler,
and
                                 * includes high bandwidth.
                                 */
                                dbg ("intr period %d uframes, NYET!",
                                                urb->interval);
                                goto done;
                        }

Accordingly with this code I understand that "qh->period" field means
polling period in frames.
But how I can define polling period in uframes ?


Thanks
Dima
 
Dmitri Epshtein - Software engineer
Marvell Semiconductor Israel Ltd
6 Hamada Street 
Mordot HaCarmel Industrial Park
Yokneam 20692, ISRAEL
Email - [EMAIL PROTECTED]
Tel - + 972 4 9091455 
Fax - + 972 4 9091501
WWW Page: http://www.marvell.com 

This message may contain confidential, proprietary or legally privileged
information. The information is intended only for the use of the
individual or entity named above. If the reader of this message is not
the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If
you have received this communication in error, please notify us
immediately by telephone, or by e-mail and delete the message from your
computer.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to