summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-03-01 22:38:52 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-03-01 22:38:52 +0000
commitc440e806aa95acc4fe97664161b191c2a7e2d3ec (patch)
tree118d3ea3f7ff1102b93a5271240cdf3a105c70fe /sys/dev/pci
parent6103bc6d00b1a47b10e50dce6983d527fc212315 (diff)
Proper bus_dma usage, fixes cache incosistencies
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/gdt_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/gdt_pci.c b/sys/dev/pci/gdt_pci.c
index a2fdf58b851..22f80c96763 100644
--- a/sys/dev/pci/gdt_pci.c
+++ b/sys/dev/pci/gdt_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gdt_pci.c,v 1.2 2000/02/13 10:59:06 niklas Exp $ */
+/* $OpenBSD: gdt_pci.c,v 1.3 2000/03/01 22:38:51 niklas Exp $ */
/*
* Copyright (c) 1999 Niklas Hallqvist. All rights reserved.
@@ -286,6 +286,7 @@ gdt_pci_attach(parent, self, aux)
gdt->sc_dpmemt = dpmemt;
gdt->sc_dpmemh = dpmemh;
gdt->sc_dpmembase = dpmembase;
+ gdt->sc_dmat = pa->pa_dmat;
/*
* The GDT_PCINEW series also has two other regions to map.