summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-09-10 21:37:04 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-09-10 21:37:04 +0000
commita1d69371221ab8fd0846d0dead39e7bd16ed85da (patch)
treed83fdabe10760452cb6b0018e3e1789e5c188879 /sys/arch
parentab575a834e4a3b11c1bb76864a12297a6e0d0ba4 (diff)
Provide a bus_dmamap_sync() implementation for the IOMMU. Fixes bigmem.
tested by naddy@, ok dlg@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/pci/iommu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/pci/iommu.c b/sys/arch/amd64/pci/iommu.c
index 12827f7f60c..8a4bd7346e8 100644
--- a/sys/arch/amd64/pci/iommu.c
+++ b/sys/arch/amd64/pci/iommu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iommu.c,v 1.29 2009/05/04 16:48:37 oga Exp $ */
+/* $OpenBSD: iommu.c,v 1.30 2010/09/10 21:37:03 kettenis Exp $ */
/*
* Copyright (c) 2005 Jason L. Wright (jason@thought.net)
@@ -134,7 +134,7 @@ struct bus_dma_tag amdgart_bus_dma_tag = {
sg_dmamap_load_uio,
sg_dmamap_load_raw,
sg_dmamap_unload,
- NULL,
+ _bus_dmamap_sync,
sg_dmamem_alloc,
_bus_dmamem_free,
_bus_dmamem_map,