Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f456acae
Commit
f456acae
authored
Jun 14, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] IP27: Cleanup N/M mode configuration.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
09866258
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
7 deletions
+22
-7
arch/mips/sgi-ip27/Kconfig
arch/mips/sgi-ip27/Kconfig
+20
-5
include/asm-mips/sn/sn0/arch.h
include/asm-mips/sn/sn0/arch.h
+2
-2
No files found.
arch/mips/sgi-ip27/Kconfig
View file @
f456acae
...
@@ -4,14 +4,29 @@
...
@@ -4,14 +4,29 @@
# This options adds support for userspace processes upto 16TB size.
# This options adds support for userspace processes upto 16TB size.
# Normally the limit is just .5TB.
# Normally the limit is just .5TB.
choice
prompt "Node addressing mode"
depends on SGI_IP27
default SGI_SN_M_MODE
config SGI_SN_M_MODE
bool "IP27 M-Mode"
help
The nodes of Origin, Onyx, Fuel and Tezro systems can be configured
in either N-Modes which allows for more nodes or M-Mode which allows
for more memory. Your hardware is almost certainly running in
M-Mode, so choose M-mode here.
config SGI_SN_N_MODE
config SGI_SN_N_MODE
bool "IP27 N-Mode"
bool "IP27 N-Mode"
depends on
SGI_IP27
depends on
EXPERIMENTAL
help
help
The nodes of Origin 200, Origin 2000 and Onyx 2 systems can be
The nodes of Origin, Onyx, Fuel and Tezro systems can be configured
configured in either N-Modes which allows for more nodes or M-Mode
in either N-Modes which allows for more nodes or M-Mode which allows
which allows for more memory. Your system is most probably
for more memory. Your hardware is almost certainly running in
running in M-Mode, so you should say N here.
M-Mode, so choose M-mode here.
endchoice
config MAPPED_KERNEL
config MAPPED_KERNEL
bool "Mapped kernel support"
bool "Mapped kernel support"
...
...
include/asm-mips/sn/sn0/arch.h
View file @
f456acae
...
@@ -59,9 +59,9 @@
...
@@ -59,9 +59,9 @@
*/
*/
#ifdef CONFIG_SGI_SN_N_MODE
#ifdef CONFIG_SGI_SN_N_MODE
#define MAX_MEM_SLOTS 16
/* max slots per node */
#define MAX_MEM_SLOTS 16
/* max slots per node */
#else
/* !CONFIG_SGI_SN_N_MODE, assume M_MODE */
#else
/* !CONFIG_SGI_SN_N_MODE, assume
CONFIG_SGI_SN_
M_MODE */
#define MAX_MEM_SLOTS 32
/* max slots per node */
#define MAX_MEM_SLOTS 32
/* max slots per node */
#endif
/*
defined(N_MODE)
*/
#endif
/*
CONFIG_SGI_SN_M_MODE
*/
#define SLOT_SHIFT (27)
#define SLOT_SHIFT (27)
#define SLOT_MIN_MEM_SIZE (32*1024*1024)
#define SLOT_MIN_MEM_SIZE (32*1024*1024)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment