diff options
author | mux <mux@FreeBSD.org> | 2003-04-10 23:03:33 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2003-04-10 23:03:33 +0000 |
commit | ea793948f7e836abfe00c166d6989e6d17d31e99 (patch) | |
tree | f3cc4c1968f8b58e700a90496c66574eb191c832 /sys/powerpc | |
parent | b7902728e71f8575fb3e2fd5fa4e3c9696330c10 (diff) | |
download | FreeBSD-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.c | 2 |
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; |