tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bus_dmamap_sync() for uhci(4) wrote:

> the attached patch adds bus_dmamap_sync() calls to uhci. I tested
> this on a sparc64 with a via ehci and a umodem device.
> Note that this combination works on sparc64 without the bus_dmamap_sync()
> calls because all memory used for DMA is from bus_dmamem_alloc().
> But bus_dmamap_sync() on this platform is not a nop, and has some
> DIAGNOSTIC checks, so it shows the calls I added are not completely
> brocken. Unfortunably I don't have a device to test the iso
> transfers.
> I'll also look at adding such calls to ehci.
> Any comments ?

Maybe we could test it even on x86 by making patched drivers
forcibly use bounce buffer with bus_dmatag_subregion(9),
which is used in bce(4).
Izumi Tsutsui

Home | Main Index | Thread Index | Old Index