diff options
-rw-r--r-- | arch/mips/sgi-ip27/Kconfig | 25 | ||||
-rw-r--r-- | include/asm-mips/sn/sn0/arch.h | 4 |
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 | ||
7 | choice | ||
8 | prompt "Node addressing mode" | ||
9 | depends on SGI_IP27 | ||
10 | default SGI_SN_M_MODE | ||
11 | |||
12 | config 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 | |||
7 | config SGI_SN_N_MODE | 20 | config 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 | |||
29 | endchoice | ||
15 | 30 | ||
16 | config MAPPED_KERNEL | 31 | config 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) |