summaryrefslogtreecommitdiff
path: root/sys/dev/ic/adv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/adv.c')
-rw-r--r--sys/dev/ic/adv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/adv.c b/sys/dev/ic/adv.c
index bed5c8eee15..ad5a74f2960 100644
--- a/sys/dev/ic/adv.c
+++ b/sys/dev/ic/adv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adv.c,v 1.4 1998/11/17 06:08:15 downsj Exp $ */
+/* $OpenBSD: adv.c,v 1.5 1999/08/04 23:27:48 niklas Exp $ */
/* $NetBSD: adv.c,v 1.6 1998/10/28 20:39:45 dante Exp $ */
/*
@@ -197,7 +197,7 @@ adv_alloc_ccbs(sc)
}
if ((error = bus_dmamem_map(sc->sc_dmat, &seg, rseg,
sizeof(struct adv_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);
@@ -424,7 +424,7 @@ adv_alloc_overrunbuf(dvname, dmat)
return (0);
}
if ((error = bus_dmamem_map(dmat, &seg, rseg, ASC_OVERRUN_BSIZE,
- (caddr_t *) & overrunbuf, BUS_DMA_NOWAIT | BUS_DMAMEM_NOSYNC)) != 0) {
+ (caddr_t *) & overrunbuf, BUS_DMA_NOWAIT | BUS_DMA_COHERENT)) != 0) {
printf("%s: unable to map overrun buffer, error = %d\n",
dvname, error);