summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/pci
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-01-24 20:59:43 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-01-24 20:59:43 +0000
commit3d5e5c822ce74913b35bc1e3e912c4f00e177477 (patch)
treec9e0c86be4ff55eb71ee46fd888454935e9c204e /sys/arch/macppc/pci
parent53ea9eba39efe4646cebb1e627e4d43199505be6 (diff)
Implement bus_dmamem_alloc_range(9) for macppc/socppc.
Diffstat (limited to 'sys/arch/macppc/pci')
-rw-r--r--sys/arch/macppc/pci/pci_machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/macppc/pci/pci_machdep.c b/sys/arch/macppc/pci/pci_machdep.c
index 11d4f5d9dd7..de15b56c205 100644
--- a/sys/arch/macppc/pci/pci_machdep.c
+++ b/sys/arch/macppc/pci/pci_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.c,v 1.3 2014/04/26 14:26:48 mpi Exp $ */
+/* $OpenBSD: pci_machdep.c,v 1.4 2015/01/24 20:59:42 kettenis Exp $ */
/*
* Copyright (c) 2013 Martin Pieuchot
@@ -50,6 +50,7 @@ struct powerpc_bus_dma_tag pci_bus_dma_tag = {
_dmamap_unload,
_dmamap_sync,
_dmamem_alloc,
+ _dmamem_alloc_range,
_dmamem_free,
_dmamem_map,
_dmamem_unmap,