]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the operation parameter of bus_dmamap_sync() from an
authormux <mux@FreeBSD.org>
Thu, 10 Apr 2003 23:03:33 +0000 (23:03 +0000)
committermux <mux@FreeBSD.org>
Thu, 10 Apr 2003 23:03:33 +0000 (23:03 +0000)
commitea793948f7e836abfe00c166d6989e6d17d31e99
treef3cc4c1968f8b58e700a90496c66574eb191c832
parentb7902728e71f8575fb3e2fd5fa4e3c9696330c10
Change the operation parameter of bus_dmamap_sync() from an
enum to an int and redefine the BUS_DMASYNC_* constants as
flags.  This allows us to specify several operations in one
call to bus_dmamap_sync() as in NetBSD.
14 files changed:
sys/alpha/alpha/busdma_machdep.c
sys/alpha/include/bus.h
sys/amd64/amd64/busdma_machdep.c
sys/amd64/include/bus_dma.h
sys/i386/i386/busdma_machdep.c
sys/i386/include/bus_dma.h
sys/ia64/ia64/busdma_machdep.c
sys/powerpc/powerpc/busdma_machdep.c
sys/sparc64/include/bus.h
sys/sparc64/pci/psycho.c
sys/sparc64/sbus/sbus.c
sys/sparc64/sparc64/bus_machdep.c
sys/sparc64/sparc64/iommu.c
sys/sys/bus_dma.h