Re: Question about the definition of struct usb_hub

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Thu, 23 Aug 2007, jidong xiao wrote:

> Regarding...
> 
> struct usb_hub {
> ...
> 	unsigned		quiescing:1;
> 	unsigned		activating:1;
> ...
> }
> 
> both quiescing and activating are flags.
> my question is what's difference between quiescing and _in_activating?

During normal operation neither flag is set.

When quiescing, the driver doesn't submit any URBs.  When activating, 
the driver sends Get-Port-Status requests for every port.  During 
normal operation, the driver sends Get-Port-Status requests only for 
ports which have experienced a status-change event.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.