summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbenno <benno@FreeBSD.org>2003-01-27 12:59:52 +0000
committerbenno <benno@FreeBSD.org>2003-01-27 12:59:52 +0000
commite0d8560e86cd352ae29c766c9567e90b8bd6a1b8 (patch)
tree3f71507de50cd60e7cfdd723957117f14629f8ef /sys
parentc68db4d17864e794ebbb3c9c91f7199ae35b3219 (diff)
downloadFreeBSD-src-e0d8560e86cd352ae29c766c9567e90b8bd6a1b8.zip
FreeBSD-src-e0d8560e86cd352ae29c766c9567e90b8bd6a1b8.tar.gz
Back the previous commit out. It didn't actually fix the problem I was
seeing and the memory barrier isn't needed with the bridges we're using. Fix the function style however.
Diffstat (limited to 'sys')
-rw-r--r--sys/powerpc/powerpc/busdma_machdep.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/powerpc/powerpc/busdma_machdep.c b/sys/powerpc/powerpc/busdma_machdep.c
index d93f251..4bb5f0c 100644
--- a/sys/powerpc/powerpc/busdma_machdep.c
+++ b/sys/powerpc/powerpc/busdma_machdep.c
@@ -509,12 +509,14 @@ bus_dmamap_load_uio(bus_dma_tag_t dmat, bus_dmamap_t map, struct uio *uio,
*/
void
bus_dmamap_unload(bus_dma_tag_t dmat, bus_dmamap_t map)
-{}
+{
+
+ return;
+}
void
bus_dmamap_sync(bus_dma_tag_t dmat, bus_dmamap_t map, bus_dmasync_op_t op)
{
- if ((op == BUS_DMASYNC_PREREAD) || (op == BUS_DMASYNC_PREWRITE))
- powerpc_mb();
+ return;
}
OpenPOWER on IntegriCloud