On Tue, 5 Oct 2004, luzt wrote:

> hi,everyone:
>       i have some question when reading kernel 2.6.8 uhci_start. 

<...>
> i get the follow table from the above code.
> ==================
> frame skelqh
> 
> 0 skel_intr1_qh 
> 1 skel_intr2_qh
> 2 skel_intr4_qh
> 3 skel_intr2_qh
> 4 skel_intr8_qh
> 5 skel_intr2_qh
> 6 skel_intr4_qh
> 7 skel_intr2_qh
> .....
> ===================
> my question is :
> 1.i think skel_intr(N)_qh will be runed every N frame.is it?

Yes.

>   but why skel_intr8_qh linked frame 4?

It's supposed to be linked there.  It runs in frames 4, 12, 20, 28,...
every 8th frame.

> 2.why skel_intr64_qh not linked to skel_intr128_qh just like kernel_2.4.*?
>       so when processing skel_inter128_qh,how to execute 
> skel_intr64_qh,skel_intr32_qh...

The linking scheme was changed in 2.6 to distribute the interrupt
transfers more evenly.  In the new scheme each frame executes no more than
two of the skel_intrN_qh entries.  In the old scheme, some frames would
execute all of them!

As a result, skel_intr128_qh and skel_intr64qh don't execute during the 
same frames.  skel_intr128_qh runs in frames 64, 192, 320,... and 
skel_intr64_qh runs in frames 32, 96, 160,...

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to