summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r--sys/powerpc/include/bus.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/powerpc/include/bus.h b/sys/powerpc/include/bus.h
index 153231f..eff6e8f 100644
--- a/sys/powerpc/include/bus.h
+++ b/sys/powerpc/include/bus.h
@@ -756,6 +756,7 @@ struct uio;
/*
* Operations performed by bus_dmamap_sync().
*/
+typedef int bus_dmasync_op_t;
#define BUS_DMASYNC_PREREAD 1
#define BUS_DMASYNC_POSTREAD 2
#define BUS_DMASYNC_PREWRITE 4
@@ -888,7 +889,7 @@ int bus_dmamap_load_uio(bus_dma_tag_t dmat, bus_dmamap_t map,
/*
* Perform a syncronization operation on the given map.
*/
-void bus_dmamap_sync(bus_dma_tag_t, bus_dmamap_t, int);
+void bus_dmamap_sync(bus_dma_tag_t, bus_dmamap_t, bus_dmasync_op_t);
/*
* Release the mapping held by map.
OpenPOWER on IntegriCloud