[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bus_dmamap_sync() for uhci(4)
-----BEGIN PGP SIGNED MESSAGE-----
On Jun 10, 2008, at 16:47, Manuel Bouyer wrote:
On Tue, Jun 10, 2008 at 11:15:29AM -0400, Michael Lorenz wrote:
Currently BUS_DMAMAP_COHERENT translates to 'access via kseg1' on
sgimips. Yes, should be completely uncached.
Here's an updated patch, which fixes some cut-n-paste and adds some
usb_syncmem() based on Izumi's comments.
But again I can't see how it would change anything on a
memory ... it's just some more wmb() calls, which should now be
This works better, devices are found and I don't see those 'generic
HBA error's anymore.
Reads seem to work fine, both with uhci and ehci. Writes however
don't seem to work right. Symptoms:
- - I newfs a USB disk, then mount it and the filesystem apparently
doesn't have a root directory.
- - subsequent fscks find different errors every time
The disk itself is fine, I tried it on a different machine without
any problems and the filesystem problems only started to happen after
I newfsed the disk to avoid a lengthy fsck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
-----END PGP SIGNATURE-----
Main Index |
Thread Index |