Messages in this thread | | | Date | Tue, 13 Jul 2004 13:26:39 -0700 | From | David Brownell <> | Subject | Re: [linux-usb-devel] [PATCH] proper bios handoff in ehci-hcd |
| |
Hi Olaf,
Olaf Hering wrote: > > there are 2 reports about breakage by this patch. One is on lkml, and > another one is in my bugzilla inbox. How can we fix that one? I assume > that handoff patch is correct.
The only question I have about it right now is whether it might not be more correct to use a _byte_ access to set the "Host OS wants controller" flag. It looks to me like it does the right thing, per EHCI 1.0 section 5.1, though maybe 500 msec is too short a period to wait. See if 5000 msec helps.
The 0x01010001 flag is pretty clearly trouble, and says that the BIOS hasn't reacted to the request. Maybe it's polling at some rate slower than 2x/second on those machines ... or maybe this is just a bios bug.
In this case, one could just look at byte 106 (104 + 2) of pci config space later to see if it changed after the 500 msec passed.
- Dave
> <6>NET: Registered protocol family 17 > <3>ehci_hcd 0000:00:1d.7: BIOS handoff failed (104, 1010001) > <3>ehci_hcd 0000:00:1d.7: can't reset > <3>ehci_hcd 0000:00:1d.7: init 0000:00:1d.7 fail, -95 > <4>ehci_hcd: probe of 0000:00:1d.7 failed with error -95 > > this is a FSC Amilo D7830 notebook, the guy on lkml has a Asus P4P800 board. >
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |