tech-kern archive

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

Re: bus_dmamap_sync() for uhci(4)



On Sat, Jun 07, 2008 at 01:53:37PM +0900, Izumi Tsutsui wrote:
> 
> 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).

It doesn't look so easy, because all DMA buffers are allocated with
bus_dmamem_alloc(), so it's guaranteed to not need bounce buffers.
I fear using a different tag for bus_dmamem_alloc()/bus_dmamem_map()
and bus_dmamap_sync() cause inconsistencies in the bus_dma backends.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index