Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
aa9772e3
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
aa9772e3
编写于
6月 12, 2006
作者:
R
Ralf Baechle
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[MIPS] SN: Rename SGI_SN0_N_MODE -> SGI_SN_N_MODE.
It's not SN0-specific. Signed-off-by:
N
Ralf Baechle
<
ralf@linux-mips.org
>
上级
bf5a312b
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
9 addition
and
9 deletion
+9
-9
arch/mips/configs/ip27_defconfig
arch/mips/configs/ip27_defconfig
+1
-1
arch/mips/sgi-ip27/Kconfig
arch/mips/sgi-ip27/Kconfig
+1
-1
arch/mips/sgi-ip27/ip27-init.c
arch/mips/sgi-ip27/ip27-init.c
+1
-1
include/asm-mips/sn/sn0/addrs.h
include/asm-mips/sn/sn0/addrs.h
+3
-3
include/asm-mips/sn/sn0/arch.h
include/asm-mips/sn/sn0/arch.h
+2
-2
include/asm-mips/sn/sn0/hubmd.h
include/asm-mips/sn/sn0/hubmd.h
+1
-1
未找到文件。
arch/mips/configs/ip27_defconfig
浏览文件 @
aa9772e3
...
...
@@ -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_SN
0
_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
...
...
arch/mips/sgi-ip27/Kconfig
浏览文件 @
aa9772e3
...
...
@@ -4,7 +4,7 @@
# This options adds support for userspace processes upto 16TB size.
# Normally the limit is just .5TB.
config SGI_SN
0
_N_MODE
config SGI_SN_N_MODE
bool "IP27 N-Mode"
depends on SGI_IP27
help
...
...
arch/mips/sgi-ip27/ip27-init.c
浏览文件 @
aa9772e3
...
...
@@ -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_SN
0
_N_MODE
#ifdef CONFIG_SGI_SN_N_MODE
if
(
!
n_mode
)
panic
(
"Kernel compiled for M mode."
);
#else
...
...
include/asm-mips/sn/sn0/addrs.h
浏览文件 @
aa9772e3
...
...
@@ -49,7 +49,7 @@
* so for now we just use defines bracketed by an ifdef.
*/
#ifdef CONFIG_SGI_SN
0
_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_SN
0
_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_SN
0
_N_MODE) */
#endif
/* !defined(CONFIG_SGI_SN_N_MODE) */
#define NODE_ADDRSPACE_SIZE (UINT64_CAST 1 << NODE_SIZE_BITS)
...
...
include/asm-mips/sn/sn0/arch.h
浏览文件 @
aa9772e3
...
...
@@ -57,9 +57,9 @@
/*
* Slot constants for SN0
*/
#ifdef CONFIG_SGI_SN
0
_N_MODE
#ifdef CONFIG_SGI_SN_N_MODE
#define MAX_MEM_SLOTS 16
/* max slots per node */
#else
/* !CONFIG_SGI_SN
0
_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) */
...
...
include/asm-mips/sn/sn0/hubmd.h
浏览文件 @
aa9772e3
...
...
@@ -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_SN
0
_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 */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录