summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-11-08 14:38:24 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-11-08 14:38:24 +0000
commit923da87bd920f3fef22e69af6adace5d474ea295 (patch)
treeff6f8b00a57021c60f88b748fcd7f0c76c1a487b
parent1505ce8a6ac75e4949bd624dfdbf1ff88d823b62 (diff)
Code that I will forget to change when I convert pmax to UVM.
Better to commit it now.
-rw-r--r--sys/arch/pmax/pmax/machdep.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/pmax/pmax/machdep.c b/sys/arch/pmax/pmax/machdep.c
index d0ac1f70815..0177cba9783 100644
--- a/sys/arch/pmax/pmax/machdep.c
+++ b/sys/arch/pmax/pmax/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.25 2000/10/27 00:16:16 mickey Exp $ */
+/* $OpenBSD: machdep.c,v 1.26 2000/11/08 14:38:23 art Exp $ */
/* $NetBSD: machdep.c,v 1.67 1996/10/23 20:04:40 mhitch Exp $ */
/*
@@ -152,7 +152,9 @@ int maxmem; /* max memory per process */
int physmem; /* max supported memory, changes to actual */
int physmem_boardmax; /* {model,simm}-specific bound on physmem */
int pmax_boardtype; /* Mother board type */
+#ifndef UVM
u_long le_iomem; /* 128K for lance chip via. ASIC */
+#endif
u_long asc_iomem; /* and 7 * 8K buffers for the scsi */
u_long ioasic_base; /* Base address of I/O asic */
const struct callback *callv; /* pointer to PROM entry points */
@@ -648,6 +650,7 @@ mach_init(argc, argv, code, cv)
maxmem = physmem;
+#ifndef UVM
#if NLE_IOASIC > 0
/*
* Grab 128K at the top of physical memory for the lance chip
@@ -660,6 +663,7 @@ mach_init(argc, argv, code, cv)
le_iomem = (maxmem << PGSHIFT);
}
#endif /* NLE_IOASIC */
+#endif
#if NASC > 0
/*
* Ditto for the scsi chip. There is probably a way to make asc.c