Date: Fri, 30 May 2003 13:40:33 -0700 (PDT) From: Hiten Pandya <hmp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/include bus.h src/sys/amd64/include bus_dma.h src/sys/i386/include bus_dma.h src/sys/i4b/layer1/itjc i4b_itjc_pci.c src/sys/ia64/include bus.h src/sys/sparc64/include bus.h Message-ID: <200305302040.h4UKeX49069283@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
hmp 2003/05/30 13:40:33 PDT
FreeBSD src repository (doc committer)
Modified files:
sys/alpha/include bus.h
sys/amd64/include bus_dma.h
sys/i386/include bus_dma.h
sys/i4b/layer1/itjc i4b_itjc_pci.c
sys/ia64/include bus.h
sys/sparc64/include bus.h
Log:
Rename BUS_DMAMEM_NOSYNC to BUS_DMA_COHERENT.
The current name is confusing, because it indicates to
the client that a bus_dmamap_sync() operation is not
necessary when the flag is specified, which is wrong.
The main purpose of this flag is to hint the underlying
architecture that DMA memory should be mapped in a coherent
way, but the architecture can ignore it. But if the
architecture does supports coherent mapping of memory, then
it makes bus_dmamap_sync() calls cheap.
This flag is the same as the one in NetBSD's Bus DMA.
Reviewed by: gibbs, scottl, des (implicitly)
Approved by: re@ (jhb)
Revision Changes Path
1.21 +1 -1 src/sys/alpha/include/bus.h
1.22 +1 -1 src/sys/amd64/include/bus_dma.h
1.21 +1 -1 src/sys/i386/include/bus_dma.h
1.7 +2 -2 src/sys/i4b/layer1/itjc/i4b_itjc_pci.c
1.12 +1 -1 src/sys/ia64/include/bus.h
1.26 +1 -2 src/sys/sparc64/include/bus.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305302040.h4UKeX49069283>
