summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-06-16 19:57:52 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-06-16 19:57:52 +0000
commit49e31b3e7fe854aae88f968da9911e2a4fd5d878 (patch)
treec40e12aafb7fdba460ae107d8c243bf9923016ee /sys/arch
parent8ace5f95bf8bff8385ef82e9e8a45721100c32e9 (diff)
astro(4)'s iommu does cache-coherent DMA.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/dev/astro.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/hppa/dev/astro.c b/sys/arch/hppa/dev/astro.c
index 12c7b2779d8..41ff2be5efa 100644
--- a/sys/arch/hppa/dev/astro.c
+++ b/sys/arch/hppa/dev/astro.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: astro.c,v 1.4 2007/06/16 18:13:23 kettenis Exp $ */
+/* $OpenBSD: astro.c,v 1.5 2007/06/16 19:57:51 kettenis Exp $ */
/*
* Copyright (c) 2007 Mark Kettenis
@@ -488,9 +488,7 @@ void
iommu_dvmamap_sync(void *v, bus_dmamap_t map, bus_addr_t off,
bus_size_t len, int ops)
{
- struct astro_softc *sc = v;
-
- bus_dmamap_sync(sc->sc_dmat, map, off, len, ops);
+ /* Nothing to do; DMA is cache-coherent. */
}
int