summaryrefslogtreecommitdiff
path: root/sys/dev/ic/adw.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/adw.c')
-rw-r--r--sys/dev/ic/adw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/adw.c b/sys/dev/ic/adw.c
index 46fc2b6570f..bd5c15860c3 100644
--- a/sys/dev/ic/adw.c
+++ b/sys/dev/ic/adw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adw.c,v 1.1 1998/11/17 06:14:58 downsj Exp $ */
+/* $OpenBSD: adw.c,v 1.2 1999/08/04 23:27:48 niklas Exp $ */
/* $NetBSD: adw.c,v 1.3 1998/10/10 00:28:33 thorpej Exp $ */
/*
@@ -193,7 +193,7 @@ adw_alloc_ccbs(sc)
}
if ((error = bus_dmamem_map(sc->sc_dmat, &seg, rseg,
sizeof(struct adw_control), (caddr_t *) & sc->sc_control,
- BUS_DMA_NOWAIT | BUS_DMAMEM_NOSYNC)) != 0) {
+ BUS_DMA_NOWAIT | BUS_DMA_COHERENT)) != 0) {
printf("%s: unable to map control structures, error = %d\n",
sc->sc_dev.dv_xname, error);
return (error);