Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
ae8a5348
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
ae8a5348
编写于
4月 25, 2008
作者:
P
Paul Mundt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
sh: r7780rp: Kill off unneded ifdefs for irq setup.
Signed-off-by:
N
Paul Mundt
<
lethal@linux-sh.org
>
上级
e305ec80
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
7 addition
and
27 deletion
+7
-27
arch/sh/boards/renesas/r7780rp/irq-r7780mp.c
arch/sh/boards/renesas/r7780rp/irq-r7780mp.c
+1
-1
arch/sh/boards/renesas/r7780rp/irq-r7780rp.c
arch/sh/boards/renesas/r7780rp/irq-r7780rp.c
+1
-1
arch/sh/boards/renesas/r7780rp/irq-r7785rp.c
arch/sh/boards/renesas/r7780rp/irq-r7785rp.c
+1
-1
arch/sh/boards/renesas/r7780rp/setup.c
arch/sh/boards/renesas/r7780rp/setup.c
+3
-21
include/asm-sh/r7780rp.h
include/asm-sh/r7780rp.h
+1
-3
未找到文件。
arch/sh/boards/renesas/r7780rp/irq-r7780mp.c
浏览文件 @
ae8a5348
...
...
@@ -62,7 +62,7 @@ static unsigned char irl2irq[HL_NR_IRL] __initdata = {
static
DECLARE_INTC_DESC
(
intc_desc
,
"r7780mp"
,
vectors
,
NULL
,
mask_registers
,
NULL
,
NULL
);
unsigned
char
*
__init
highlander_
init_irq_r7780m
p
(
void
)
unsigned
char
*
__init
highlander_
plat_irq_setu
p
(
void
)
{
if
((
ctrl_inw
(
0xa4000700
)
&
0xf000
)
==
0x2000
)
{
printk
(
KERN_INFO
"Using r7780mp interrupt controller.
\n
"
);
...
...
arch/sh/boards/renesas/r7780rp/irq-r7780rp.c
浏览文件 @
ae8a5348
...
...
@@ -55,7 +55,7 @@ static unsigned char irl2irq[HL_NR_IRL] __initdata = {
static
DECLARE_INTC_DESC
(
intc_desc
,
"r7780rp"
,
vectors
,
NULL
,
mask_registers
,
NULL
,
NULL
);
unsigned
char
*
__init
highlander_
init_irq_r7780r
p
(
void
)
unsigned
char
*
__init
highlander_
plat_irq_setu
p
(
void
)
{
if
(
ctrl_inw
(
0xa5000600
))
{
printk
(
KERN_INFO
"Using r7780rp interrupt controller.
\n
"
);
...
...
arch/sh/boards/renesas/r7780rp/irq-r7785rp.c
浏览文件 @
ae8a5348
...
...
@@ -64,7 +64,7 @@ static unsigned char irl2irq[HL_NR_IRL] __initdata = {
static
DECLARE_INTC_DESC
(
intc_desc
,
"r7785rp"
,
vectors
,
NULL
,
mask_registers
,
NULL
,
NULL
);
unsigned
char
*
__init
highlander_
init_irq_r7785r
p
(
void
)
unsigned
char
*
__init
highlander_
plat_irq_setu
p
(
void
)
{
if
((
ctrl_inw
(
0xa4000158
)
&
0xf000
)
!=
0x1000
)
return
NULL
;
...
...
arch/sh/boards/renesas/r7780rp/setup.c
浏览文件 @
ae8a5348
...
...
@@ -316,7 +316,7 @@ static void __init highlander_setup(char **cmdline_p)
static
unsigned
char
irl2irq
[
HL_NR_IRL
];
int
highlander_irq_demux
(
int
irq
)
static
int
highlander_irq_demux
(
int
irq
)
{
if
(
irq
>=
HL_NR_IRL
||
!
irl2irq
[
irq
])
return
irq
;
...
...
@@ -324,27 +324,9 @@ int highlander_irq_demux(int irq)
return
irl2irq
[
irq
];
}
void
__init
highlander_init_irq
(
void
)
static
void
__init
highlander_init_irq
(
void
)
{
unsigned
char
*
ucp
=
NULL
;
do
{
#ifdef CONFIG_SH_R7780MP
ucp
=
highlander_init_irq_r7780mp
();
if
(
ucp
)
break
;
#endif
#ifdef CONFIG_SH_R7785RP
ucp
=
highlander_init_irq_r7785rp
();
if
(
ucp
)
break
;
#endif
#ifdef CONFIG_SH_R7780RP
ucp
=
highlander_init_irq_r7780rp
();
if
(
ucp
)
break
;
#endif
}
while
(
0
);
unsigned
char
*
ucp
=
highlander_plat_irq_setup
();
if
(
ucp
)
{
plat_irq_setup_pins
(
IRQ_MODE_IRL3210
);
...
...
include/asm-sh/r7780rp.h
浏览文件 @
ae8a5348
...
...
@@ -193,8 +193,6 @@
#define IRQ_SCIF0 (HL_FPGA_IRQ_BASE + 15)
#define IRQ_SCIF1 (HL_FPGA_IRQ_BASE + 16)
unsigned
char
*
highlander_init_irq_r7780mp
(
void
);
unsigned
char
*
highlander_init_irq_r7780rp
(
void
);
unsigned
char
*
highlander_init_irq_r7785rp
(
void
);
unsigned
char
*
highlander_plat_irq_setup
(
void
);
#endif
/* __ASM_SH_RENESAS_R7780RP */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录