diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-11-27 21:43:04 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-11-27 21:43:04 +0000 |
commit | 5dc53d99e7346b9c07d2d83a1d46ab6973099126 (patch) | |
tree | 4c6cebe1b57811a3ab3c170e6108cb451d826031 /sys | |
parent | b88944f9e5bfe54db72c249cdac1777db2be26ea (diff) |
It turns out Motorola manufactured ECC 128MB memory boards for MVME188
assemblies, so allow up to 512MB of memory on MVME188 systems. Thanks maz
for the 128MB board!
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/m188_machdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/mvme88k/m188_machdep.c b/sys/arch/mvme88k/mvme88k/m188_machdep.c index ded8d9a326e..c0bb1ade113 100644 --- a/sys/arch/mvme88k/mvme88k/m188_machdep.c +++ b/sys/arch/mvme88k/mvme88k/m188_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: m188_machdep.c,v 1.44 2007/12/27 23:17:55 miod Exp $ */ +/* $OpenBSD: m188_machdep.c,v 1.45 2008/11/27 21:43:03 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -180,9 +180,9 @@ u_int32_t int_mask_val[NIPLS]; * the range. Since memory is packed at low addresses, we will hit all memory * boards in order until reaching either a VME space or a non-claimed space. * - * As a safety measure, we never check for more than 256MB - the 188 can + * As a safety measure, we never check for more than 512MB - the 188 can * only have up to 4 memory boards, which theoretically can not be larger - * than 64MB, and I am not aware of third-party larger memory boards. + * than 128MB, and I am not aware of third-party larger memory boards. */ vaddr_t m188_memsize() @@ -190,7 +190,7 @@ m188_memsize() u_int pgnum; int32_t rmad; -#define MVME188_MAX_MEMORY ((4 * 64) / 4) /* 4 64MB boards */ +#define MVME188_MAX_MEMORY ((4 * 128) / 4) /* 4 128MB boards */ for (pgnum = 0; pgnum < MVME188_MAX_MEMORY; pgnum++) { *(volatile int32_t *)MVME188_RMAD = (pgnum << 22); rmad = *(volatile int32_t *)MVME188_RMAD; |