Subject: Re: [linux-usb-devel] Re: ATI RS480-based motherboard: stuck 
while booting with kernel >= 2.6.15 rc1
        Date: mar 07 feb 06 02:09:03 -0800

Quoting David Brownell ([EMAIL PROTECTED]):

> > Ok. I have commented out the whole if right after 1: - the one
> > beginning with
> > 
> > if ((cap & EHCI_USBLEGSUP_BIOS)) {
> > 
> > and uncommented the line that used to freeze my machine.
> 
> 
> You still didn't answer my question.  What happens if you _only_ disable
> that "if" clause?  

??

That's what I did. I disabled the if body (surrounded it by #if 0) and
re-enabled the line that caused the freeze. The result is (apart from
the flurry of printouts that I added) exactly equal to the original
2.6.16rc2 code, apart from this if body, which is commented out:

                        if ((cap & EHCI_USBLEGSUP_BIOS)) {
                                pr_debug("%s %s: BIOS handoff\n",
                                                pdev->dev.bus_id, "EHCI");

                                /* BIOS workaround (?): be sure the
                                 * pre-Linux code receives the SMI
                                 */
                                pci_read_config_dword(pdev,
                                                offset + EHCI_USBLEGCTLSTS,
                                                &val);
                                pci_write_config_dword(pdev,
                                                offset + EHCI_USBLEGCTLSTS,
                                                val | EHCI_USBLEGCTLSTS_SOOE);
                        }

This is what I had understood. In this case, the machine does not
freeze anymore, but the  EHCI_USBLEGSUP_BIOS bit is not turned off in
the following 5-second wait loop (USB goes on working OK)

If you meant something different, let me know.

Carlo

-- 
  *         Se la Strada e la sua Virtu' non fossero state messe da parte,
* K * Carlo E. Prelz - [EMAIL PROTECTED]             che bisogno ci sarebbe
  *               di parlare tanto di amore e di rettitudine? (Chuang-Tzu)


-------------------------------------------------------
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