On Fri, 20 Jan 2006, Frantz, Chris wrote:

> Alan,
> 
> On my controller, PEC turns on as soon as the controller begins the
> reset condition.  CSC turns on as soon as the controller ends the reset
> condition (e.g. in response to PORT_RESET getting cleared).
> 
> So, the loop exit condition should be (inw(port_addr) & CSC).

We may be able to avoid PEC turning on at all by disabling the port and 
clearing PEC before the reset starts.  I haven't tried this, though, so I 
don't know for sure.

> I'll prototype this change on a system here and let you know the
> results.

Fine.  Do you have an easy way, like a PCI vendor ID, to tell which 
controllers need the extra delay?

And just out of curiosity, what model controller is this?

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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