aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/include
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2003-05-27 04:59:59 +0000
committerScott Long <scottl@FreeBSD.org>2003-05-27 04:59:59 +0000
commit7e71df93390826733b07b547c105326fc6ba2a74 (patch)
treeaaea1de6e07eae55f5e31e6ae4f5d42cc5ae59a1 /sys/powerpc/include
parent1093ceb08876448ac83e84392dfc22eafa2df63a (diff)
Notes
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 153231f683b4..eff6e8f3fce9 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.