Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27671
b: refs/heads/master
c: aa9772e
h: refs/heads/master
i:
  27669: b7e9826
  27667: a2972ef
  27663: bed6839
v: v3
  • Loading branch information
Ralf Baechle committed Jun 19, 2006
1 parent bdfbe8d commit 083b268
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bf5a312b26e9943613b765a29a8de5f4c762df11
refs/heads/master: aa9772e330d6c0a8a94316cb38ae8a7495885a60
2 changes: 1 addition & 1 deletion trunk/arch/mips/configs/ip27_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ CONFIG_SGI_IP27=y
# CONFIG_TOSHIBA_JMR3927 is not set
# CONFIG_TOSHIBA_RBTX4927 is not set
# CONFIG_TOSHIBA_RBTX4938 is not set
# CONFIG_SGI_SN0_N_MODE is not set
# CONFIG_SGI_SN_N_MODE is not set
CONFIG_ARCH_DISCONTIGMEM_ENABLE=y
CONFIG_NUMA=y
# CONFIG_MAPPED_KERNEL is not set
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/sgi-ip27/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# This options adds support for userspace processes upto 16TB size.
# Normally the limit is just .5TB.

config SGI_SN0_N_MODE
config SGI_SN_N_MODE
bool "IP27 N-Mode"
depends on SGI_IP27
help
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/sgi-ip27/ip27-init.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void __init plat_setup(void)
*/
n_mode = LOCAL_HUB_L(NI_STATUS_REV_ID) & NSRI_MORENODES_MASK;
printk("Machine is in %c mode.\n", n_mode ? 'N' : 'M');
#ifdef CONFIG_SGI_SN0_N_MODE
#ifdef CONFIG_SGI_SN_N_MODE
if (!n_mode)
panic("Kernel compiled for M mode.");
#else
Expand Down
6 changes: 3 additions & 3 deletions trunk/include/asm-mips/sn/sn0/addrs.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* so for now we just use defines bracketed by an ifdef.
*/

#ifdef CONFIG_SGI_SN0_N_MODE
#ifdef CONFIG_SGI_SN_N_MODE

#define NODE_SIZE_BITS 31
#define BWIN_SIZE_BITS 28
Expand All @@ -63,7 +63,7 @@
#define BDDIR_UPPER_MASK (UINT64_CAST 0x7ffff << 10)
#define BDECC_UPPER_MASK (UINT64_CAST 0x3ffffff << 3)

#else /* !defined(CONFIG_SGI_SN0_N_MODE), assume that M-mode is desired */
#else /* !defined(CONFIG_SGI_SN_N_MODE), assume that M-mode is desired */

#define NODE_SIZE_BITS 32
#define BWIN_SIZE_BITS 29
Expand All @@ -77,7 +77,7 @@
#define BDDIR_UPPER_MASK (UINT64_CAST 0xfffff << 10)
#define BDECC_UPPER_MASK (UINT64_CAST 0x7ffffff << 3)

#endif /* !defined(CONFIG_SGI_SN0_N_MODE) */
#endif /* !defined(CONFIG_SGI_SN_N_MODE) */

#define NODE_ADDRSPACE_SIZE (UINT64_CAST 1 << NODE_SIZE_BITS)

Expand Down
4 changes: 2 additions & 2 deletions trunk/include/asm-mips/sn/sn0/arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
/*
* Slot constants for SN0
*/
#ifdef CONFIG_SGI_SN0_N_MODE
#ifdef CONFIG_SGI_SN_N_MODE
#define MAX_MEM_SLOTS 16 /* max slots per node */
#else /* !CONFIG_SGI_SN0_N_MODE, assume M_MODE */
#else /* !CONFIG_SGI_SN_N_MODE, assume M_MODE */
#define MAX_MEM_SLOTS 32 /* max slots per node */
#endif /* defined(N_MODE) */

Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-mips/sn/sn0/hubmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
#define MD_UREG1_14 0x2200f0 /* uController/UART 1 register */
#define MD_UREG1_15 0x2200f8 /* uController/UART 1 register */

#ifdef CONFIG_SGI_SN0_N_MODE
#ifdef CONFIG_SGI_SN_N_MODE
#define MD_MEM_BANKS 4 /* 4 banks of memory max in N mode */
#else
#define MD_MEM_BANKS 8 /* 8 banks of memory max in M mode */
Expand Down

0 comments on commit 083b268

Please sign in to comment.