[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bus_dmamap_sync() for USB
-----BEGIN PGP SIGNED MESSAGE-----
On Jun 23, 2008, at 12:20, Manuel Bouyer wrote:
attached is a patch that adds bus_dmamap_sync() calls for uhci,
ohci and ehci.
I've tested uhci and ehci on amd64 (both intel and add-on VIA ehci)
sgimips (add-on VIA ehci). ohci has been tested on amd64 and macppc
(both with the build-in USB controller). All tests have been done with
USB keyboard/mouse, USB umass key and umodem. This patch, along
one in PR port-i386/38935, fix the race condition that cause
"host controller process error" and "host controller halted" errors
umodem@uhci is under heavy use.
Michael Lorenz reported issues with this on uhci/ehci in a sgimips O2,
but I couldn't reproduce it. It may be an issue with his add-on
I see the same problems with an ohci/ehci card equipped with a NEC
chip which works perfectly fine on macppc and sparc64, so I guess the
problem is sgimips-specific. Since you don't see it I better look for
local hacks in my source tree :/
The funny thing is that I only have problems with USB cards, an ex
and the onboard ahc's Just Work.
If noone object I'll commit this in the next few days.
Manuel Bouyer, LIP6, Universite Paris VI.
NetBSD: 26 ans d'experience feront toujours la difference
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
-----END PGP SIGNATURE-----
Main Index |
Thread Index |