Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xiphi1978
linux
提交
2cbd42db
L
linux
项目概览
xiphi1978
/
linux
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2cbd42db
编写于
3月 27, 2007
作者:
K
Kyle McMartin
提交者:
Kyle McMartin
5月 22, 2007
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[PARISC] Let PA-8900 processors boot
Signed-off-by:
N
Kyle McMartin
<
kyle@parisc-linux.org
>
上级
27f282b9
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
12 addition
and
6 deletion
+12
-6
arch/parisc/kernel/hardware.c
arch/parisc/kernel/hardware.c
+3
-1
arch/parisc/kernel/perf.c
arch/parisc/kernel/perf.c
+4
-2
arch/parisc/kernel/setup.c
arch/parisc/kernel/setup.c
+1
-0
include/asm-parisc/hardware.h
include/asm-parisc/hardware.h
+2
-1
include/asm-parisc/processor.h
include/asm-parisc/processor.h
+2
-2
未找到文件。
arch/parisc/kernel/hardware.c
浏览文件 @
2cbd42db
...
...
@@ -1296,6 +1296,7 @@ static struct hp_cpu_type_mask {
{
0x05f0
,
0x0ff0
,
pcxw2
},
/* 0x05f0 - 0x05ff */
{
0x0600
,
0x0fe0
,
pcxl
},
/* 0x0600 - 0x061f */
{
0x0880
,
0x0ff0
,
mako
},
/* 0x0880 - 0x088f */
{
0x0890
,
0x0ff0
,
mako2
},
/* 0x0890 - 0x089f */
{
0x0000
,
0x0000
,
pcx
}
/* terminate table */
};
...
...
@@ -1311,7 +1312,8 @@ char *cpu_name_version[][2] = {
[
pcxw
]
=
{
"PA8500 (PCX-W)"
,
"2.0"
},
[
pcxw_
]
=
{
"PA8600 (PCX-W+)"
,
"2.0"
},
[
pcxw2
]
=
{
"PA8700 (PCX-W2)"
,
"2.0"
},
[
mako
]
=
{
"PA8800 (Mako)"
,
"2.0"
}
[
mako
]
=
{
"PA8800 (Mako)"
,
"2.0"
},
[
mako2
]
=
{
"PA8900 (Shortfin)"
,
"2.0"
}
};
const
char
*
__init
...
...
arch/parisc/kernel/perf.c
浏览文件 @
2cbd42db
...
...
@@ -511,10 +511,12 @@ static int __init perf_init(void)
}
else
if
(
boot_cpu_data
.
cpu_type
==
pcxw
||
boot_cpu_data
.
cpu_type
==
pcxw_
||
boot_cpu_data
.
cpu_type
==
pcxw2
||
boot_cpu_data
.
cpu_type
==
mako
)
{
boot_cpu_data
.
cpu_type
==
mako
||
boot_cpu_data
.
cpu_type
==
mako2
)
{
perf_processor_interface
=
CUDA_INTF
;
if
(
boot_cpu_data
.
cpu_type
==
pcxw2
||
boot_cpu_data
.
cpu_type
==
mako
)
boot_cpu_data
.
cpu_type
==
mako
||
boot_cpu_data
.
cpu_type
==
mako2
)
bitmask_array
=
perf_bitmasks_piranha
;
}
else
{
perf_processor_interface
=
UNKNOWN_INTF
;
...
...
arch/parisc/kernel/setup.c
浏览文件 @
2cbd42db
...
...
@@ -225,6 +225,7 @@ static void __init parisc_proc_mkdir(void)
}
break
;
case
mako
:
case
mako2
:
if
(
NULL
==
proc_mckinley_root
)
{
proc_mckinley_root
=
proc_mkdir
(
"bus/mckinley"
,
NULL
);
...
...
include/asm-parisc/hardware.h
浏览文件 @
2cbd42db
...
...
@@ -31,7 +31,8 @@ enum cpu_type {
pcxw
=
8
,
/* pa8500 pa 2.0 */
pcxw_
=
9
,
/* pa8600 (w+) pa 2.0 */
pcxw2
=
10
,
/* pa8700 pa 2.0 */
mako
=
11
/* pa8800 pa 2.0 */
mako
=
11
,
/* pa8800 pa 2.0 */
mako2
=
12
/* pa8900 pa 2.0 */
};
extern
char
*
cpu_name_version
[][
2
];
/* mapping from enum cpu_type to strings */
...
...
include/asm-parisc/processor.h
浏览文件 @
2cbd42db
...
...
@@ -334,8 +334,8 @@ extern unsigned long get_wchan(struct task_struct *p);
static
inline
int
parisc_requires_coherency
(
void
)
{
#ifdef CONFIG_PA8X00
/* FIXME: also pa8900 - when we see one */
return
boot_cpu_data
.
cpu_type
==
mako
;
return
(
boot_cpu_data
.
cpu_type
==
mako
)
||
(
boot_cpu_data
.
cpu_type
==
mako2
)
;
#else
return
0
;
#endif
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录