summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide.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/pciide.c
parenta8bfdf187d480013f5e12f12d5c1e2bd6b94b66b (diff)
new bus_dma API, match it
Diffstat (limited to 'sys/dev/pci/pciide.c')
-rw-r--r--sys/dev/pci/pciide.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index b80dc995288..a7e1743ec5f 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.6 1999/07/30 00:17:37 deraadt Exp $ */
+/* $OpenBSD: pciide.c,v 1.7 1999/08/04 23:27:49 niklas Exp $ */
/* $NetBSD: pciide.c,v 1.40 1999/07/12 13:49:38 bouyer Exp $ */
/*
@@ -796,9 +796,6 @@ pciide_dma_table_setup(sc, channel, drive)
return error;
}
-#ifdef __OpenBSD__
-#define BUS_DMA_COHERENT 0
-#endif
if ((error = bus_dmamem_map(sc->sc_dmat, &seg, rseg,
dma_table_size,
(caddr_t *)&dma_maps->dma_table,
@@ -808,9 +805,6 @@ pciide_dma_table_setup(sc, channel, drive)
channel, drive, error);
return error;
}
-#ifdef __OpenBSD__
-#undef BUS_DMA_COHERENT
-#endif
WDCDEBUG_PRINT(("pciide_dma_table_setup: table at %p len %ld, "
"phy 0x%lx\n", dma_maps->dma_table, dma_table_size,