]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] SN: Rename SGI_SN0_N_MODE -> SGI_SN_N_MODE.
authorRalf Baechle <ralf@linux-mips.org>
Sun, 11 Jun 2006 23:55:14 +0000 (00:55 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 19 Jun 2006 16:39:22 +0000 (17:39 +0100)
It's not SN0-specific.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/configs/ip27_defconfig
arch/mips/sgi-ip27/Kconfig
arch/mips/sgi-ip27/ip27-init.c
include/asm-mips/sn/sn0/addrs.h
include/asm-mips/sn/sn0/arch.h
include/asm-mips/sn/sn0/hubmd.h

index f724b4b2ecf271ddeef531842bcbe6696215f90b..87d27cd3d2cfc607ccee65e668b94bdd511cc689 100644 (file)
@@ -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
index 6da5926210a6bb6f2a1488e9112e375638866edc..4b7c3c6751744f210a48d44fa1dccd653e7baf3b 100644 (file)
@@ -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
index 8651a0e75404aa28e8232fd233f8b998245b0ba8..16c4b3410eafbf8528b04881cf529a5d2a69a263 100644 (file)
@@ -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
index 0ee8cbcb5b03ded79b2deada00d01a27080ed8c8..2c4b758f67363cbeeb3f2e913921a857093a46bd 100644 (file)
@@ -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
@@ -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
@@ -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)
 
index 5643a6e639bd88ce635716cd7b6ec415530973f0..0ecbaa0d3837e88bc126a5ee7350a9532d06b4ee 100644 (file)
@@ -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) */
 
index a66def4e0ba0dc34e54ecb7ee72c8e35076066fd..1006aa26d77152959554b4a817f907e1d740b494 100644 (file)
@@ -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 */