aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-06-14 03:10:35 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-06-19 12:39:23 -0400
commitf456acae4fe9b4504db7d75c51fba6b8db787ee2 (patch)
tree0957b407a6ce53a67a3df333a83d24a9d47d3c9b
parent09866258612bd9f389b0d86b3a63fe98e855d3f0 (diff)
[MIPS] IP27: Cleanup N/M mode configuration.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/sgi-ip27/Kconfig25
-rw-r--r--include/asm-mips/sn/sn0/arch.h4
2 files changed, 22 insertions, 7 deletions
diff --git a/arch/mips/sgi-ip27/Kconfig b/arch/mips/sgi-ip27/Kconfig
index 4b7c3c675174..f14ef38646d0 100644
--- a/arch/mips/sgi-ip27/Kconfig
+++ b/arch/mips/sgi-ip27/Kconfig
@@ -4,14 +4,29 @@
4# This options adds support for userspace processes upto 16TB size. 4# This options adds support for userspace processes upto 16TB size.
5# Normally the limit is just .5TB. 5# Normally the limit is just .5TB.
6 6
7choice
8 prompt "Node addressing mode"
9 depends on SGI_IP27
10 default SGI_SN_M_MODE
11
12config SGI_SN_M_MODE
13 bool "IP27 M-Mode"
14 help
15 The nodes of Origin, Onyx, Fuel and Tezro systems can be configured
16 in either N-Modes which allows for more nodes or M-Mode which allows
17 for more memory. Your hardware is almost certainly running in
18 M-Mode, so choose M-mode here.
19
7config SGI_SN_N_MODE 20config SGI_SN_N_MODE
8 bool "IP27 N-Mode" 21 bool "IP27 N-Mode"
9 depends on SGI_IP27 22 depends on EXPERIMENTAL
10 help 23 help
11 The nodes of Origin 200, Origin 2000 and Onyx 2 systems can be 24 The nodes of Origin, Onyx, Fuel and Tezro systems can be configured
12 configured in either N-Modes which allows for more nodes or M-Mode 25 in either N-Modes which allows for more nodes or M-Mode which allows
13 which allows for more memory. Your system is most probably 26 for more memory. Your hardware is almost certainly running in
14 running in M-Mode, so you should say N here. 27 M-Mode, so choose M-mode here.
28
29endchoice
15 30
16config MAPPED_KERNEL 31config MAPPED_KERNEL
17 bool "Mapped kernel support" 32 bool "Mapped kernel support"
diff --git a/include/asm-mips/sn/sn0/arch.h b/include/asm-mips/sn/sn0/arch.h
index 0ecbaa0d3837..f7c43fa24aa8 100644
--- a/include/asm-mips/sn/sn0/arch.h
+++ b/include/asm-mips/sn/sn0/arch.h
@@ -59,9 +59,9 @@
59 */ 59 */
60#ifdef CONFIG_SGI_SN_N_MODE 60#ifdef CONFIG_SGI_SN_N_MODE
61#define MAX_MEM_SLOTS 16 /* max slots per node */ 61#define MAX_MEM_SLOTS 16 /* max slots per node */
62#else /* !CONFIG_SGI_SN_N_MODE, assume M_MODE */ 62#else /* !CONFIG_SGI_SN_N_MODE, assume CONFIG_SGI_SN_M_MODE */
63#define MAX_MEM_SLOTS 32 /* max slots per node */ 63#define MAX_MEM_SLOTS 32 /* max slots per node */
64#endif /* defined(N_MODE) */ 64#endif /* CONFIG_SGI_SN_M_MODE */
65 65
66#define SLOT_SHIFT (27) 66#define SLOT_SHIFT (27)
67#define SLOT_MIN_MEM_SIZE (32*1024*1024) 67#define SLOT_MIN_MEM_SIZE (32*1024*1024)