thanks...

but i thought sh_done_list returns (urb_state = -1) if it is done???
but in the hc_interrupt... it checks whether urb_state == 0... which
means it would not try another packet???


Pei Liu wrote:
> 
> >
> >i am not sure if i understand this driver in depth....  the question
> >i have is who can multiple "packets" be sent within the same frame?
> 
> Yes, you can send multiple USB transactions within the same frame.
> 
> >
> >the interrupt service routine (hc_interrupt) seems to allow only ONE
> >packet per frame?  is this correct???
> >
> >when xferdone is handled...  the sh_done_list is called... if the
> >packet is done... it would return a (-1)... and the interrupt service
> >routine would not start another transaction (sh_schedule_transaction)
> >if the return value is not 0.... that means no packet will go out until
> >next frame?
> >
> 
> When USB Done interrupt occurred, it handles the interrupt by calling
> sh_done_list() function.  The sh_done_list() returns a code that determines
> if the current USB transactions has completed.  If it has not completed, it
> would call the sh_add_packet() to complete current USB transaction.    If it
> has completed, then it would call the sh_schedule_trans() routine which will
> schedule the next USB transactions.
> 
> Pei


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to