1 Jul 2003 11:29
Re: API change for bus_dma
Bernd Walter <ticso <at> cicely12.cicely.de>
2003-07-01 09:29:45 GMT
2003-07-01 09:29:45 GMT
On Mon, Jun 30, 2003 at 10:03:46AM -0400, Andrew Gallatin wrote: > The idea is that I want to establish a mapping that can be used many > times without any driver or kernel attention. I don't want to do > anything in terms of a system call, or interrupt, etc, to sync the > cache with the state of the DMA'ed page before a DMA read or after a DMA > write. > > For example, scatter gather mapping on alphas (if FreeBSD supported it > for PCI devices) would be fine with me since its cache-coherent and > doesn't require any ddi_dma_sync() operations. What makes you shure about alpha dma to be cache-coherent? I'm not shure that the current implementation of _bus_dmamap_sync() without barriers is correct. -- -- B.Walter BWCT http://www.bwct.de ticso <at> bwct.de info <at> bwct.de _______________________________________________ freebsd-arch <at> freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe <at> freebsd.org"
RSS Feed