diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-13 04:53:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-13 04:53:27 +0000 |
commit | d28fd4eba29d6aafe64f923ce4a940aa145b5383 (patch) | |
tree | 7281d96eead09804ed6d86a9c2f24ce02c56f488 /sys | |
parent | 104468f924b58169a415a0b8922e117f55303cd1 (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.c | 2 | ||||
-rw-r--r-- | sys/arch/i386/i386/pmap.old.c | 2 |
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 |