summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-13 04:53:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-13 04:53:27 +0000
commitd28fd4eba29d6aafe64f923ce4a940aa145b5383 (patch)
tree7281d96eead09804ed6d86a9c2f24ce02c56f488 /sys
parent104468f924b58169a415a0b8922e117f55303cd1 (diff)
wrap isaphysmem in NISADMA; from andrew@wipux2.wifo.uni-mannheim.de; netbsd pr#1735
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/pmap.c2
-rw-r--r--sys/arch/i386/i386/pmap.old.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c
index 6fa08f46e21..f51b3fc0ce2 100644
--- a/sys/arch/i386/i386/pmap.c
+++ b/sys/arch/i386/i386/pmap.c
@@ -276,7 +276,7 @@ pmap_bootstrap(virtual_start)
* reserve special hunk of memory for use by bus dma as a bounce
* buffer (contiguous virtual *and* physical memory). XXX
*/
-#if NISA > 0
+#if NISADMA > 0
isaphysmem = pmap_steal_memory(DMA_BOUNCE * NBPG);
#endif
diff --git a/sys/arch/i386/i386/pmap.old.c b/sys/arch/i386/i386/pmap.old.c
index 6fa08f46e21..f51b3fc0ce2 100644
--- a/sys/arch/i386/i386/pmap.old.c
+++ b/sys/arch/i386/i386/pmap.old.c
@@ -276,7 +276,7 @@ pmap_bootstrap(virtual_start)
* reserve special hunk of memory for use by bus dma as a bounce
* buffer (contiguous virtual *and* physical memory). XXX
*/
-#if NISA > 0
+#if NISADMA > 0
isaphysmem = pmap_steal_memory(DMA_BOUNCE * NBPG);
#endif