On Tue, 1 Jul 2003, Alexander Dreweke wrote:

> >>4: I must maintain the toggle bit for each established pipe (beside for
> >>the iso).
> > 1 - 3 are correct.  4 is misleading: _You_ don't have to maintain
> > anything; the host controller driver automatically takes care of that for
> > you.
> 
> Ok. With maintain the toggle bit i mean i have to have a boolean 
> variable and when it's true then i set the toggle bit in the actual 
> transfer descriptor. Or how does the controller know when to set this bit?

You don't have to maintain any toggle bits.  The host controller driver 
does so for you.  In fact, you can't directly create or store any 
information in a TD; all the TDs are set up and controlled by the HC 
driver.

The driver knows when to set the bit because it keeps track of every 
packet it sends and the state of every endpoint in every device it's 
connected to.

Alan Stern



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to