summaryrefslogtreecommitdiff
path: root/sys/dev/pci/brooktree848.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-04 23:27:50 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-04 23:27:50 +0000
commitaf7d7f9b184b4a61a2196320c42f447118d222a6 (patch)
tree418cfb42e2b580ba3c70d037740dbd12d48554cd /sys/dev/pci/brooktree848.c
parenta8bfdf187d480013f5e12f12d5c1e2bd6b94b66b (diff)
new bus_dma API, match it
Diffstat (limited to 'sys/dev/pci/brooktree848.c')
-rw-r--r--sys/dev/pci/brooktree848.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/brooktree848.c b/sys/dev/pci/brooktree848.c
index 93b4bc344b9..754bd296662 100644
--- a/sys/dev/pci/brooktree848.c
+++ b/sys/dev/pci/brooktree848.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: brooktree848.c,v 1.9 1999/05/21 17:55:18 deraadt Exp $ */
+/* $OpenBSD: brooktree848.c,v 1.10 1999/08/04 23:27:49 niklas Exp $ */
/* $FreeBSD: brooktree848.c,v 1.64 1999/01/28 17:47:47 roger Exp $ */
/* BT848 Driver for Brooktree's Bt848, Bt849, Bt878 and Bt 879 based cards.
The Brooktree BT848 Driver driver is based upon Mark Tinguely and
@@ -4520,7 +4520,7 @@ get_bktr_mem(bktr, dmapp, size)
}
}
if (bus_dmamem_map(dmat, &seg, rseg, size,
- &kva, BUS_DMA_NOWAIT|BUS_DMAMEM_NOSYNC)) {
+ &kva, BUS_DMA_NOWAIT|BUS_DMA_COHERENT)) {
printf("bktr%d: Unable to dmamem_map of %d bytes\n",
bktr->bktr_dev.dv_unit, size);
bus_dmamem_free(dmat, &seg, rseg);