summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2003-04-10 23:03:33 +0000
committermux <mux@FreeBSD.org>2003-04-10 23:03:33 +0000
commitea793948f7e836abfe00c166d6989e6d17d31e99 (patch)
treef3cc4c1968f8b58e700a90496c66574eb191c832 /sys/powerpc
parentb7902728e71f8575fb3e2fd5fa4e3c9696330c10 (diff)
downloadFreeBSD-src-ea793948f7e836abfe00c166d6989e6d17d31e99.zip
FreeBSD-src-ea793948f7e836abfe00c166d6989e6d17d31e99.tar.gz
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.
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/powerpc/busdma_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/powerpc/busdma_machdep.c b/sys/powerpc/powerpc/busdma_machdep.c
index 9e4727f..a0c5202 100644
--- a/sys/powerpc/powerpc/busdma_machdep.c
+++ b/sys/powerpc/powerpc/busdma_machdep.c
@@ -521,7 +521,7 @@ bus_dmamap_unload(bus_dma_tag_t dmat, bus_dmamap_t map)
}
void
-bus_dmamap_sync(bus_dma_tag_t dmat, bus_dmamap_t map, bus_dmasync_op_t op)
+bus_dmamap_sync(bus_dma_tag_t dmat, bus_dmamap_t map, int op)
{
return;
OpenPOWER on IntegriCloud