Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
286ce0ac
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看板
提交
286ce0ac
编写于
2月 09, 2009
作者:
R
Russell King
提交者:
Russell King
2月 09, 2009
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix' of
git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6
上级
d5b56233
26a55226
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
18 addition
and
11 deletion
+18
-11
arch/arm/mach-pxa/dma.c
arch/arm/mach-pxa/dma.c
+10
-8
arch/arm/mach-pxa/include/mach/regs-ac97.h
arch/arm/mach-pxa/include/mach/regs-ac97.h
+2
-0
arch/arm/mach-pxa/include/mach/regs-ssp.h
arch/arm/mach-pxa/include/mach/regs-ssp.h
+3
-0
arch/arm/mach-pxa/pxa300.c
arch/arm/mach-pxa/pxa300.c
+2
-2
arch/arm/mach-pxa/pxa320.c
arch/arm/mach-pxa/pxa320.c
+1
-1
未找到文件。
arch/arm/mach-pxa/dma.c
浏览文件 @
286ce0ac
...
@@ -121,20 +121,22 @@ int __init pxa_init_dma(int num_ch)
...
@@ -121,20 +121,22 @@ int __init pxa_init_dma(int num_ch)
if
(
dma_channels
==
NULL
)
if
(
dma_channels
==
NULL
)
return
-
ENOMEM
;
return
-
ENOMEM
;
ret
=
request_irq
(
IRQ_DMA
,
dma_irq_handler
,
IRQF_DISABLED
,
"DMA"
,
NULL
);
if
(
ret
)
{
printk
(
KERN_CRIT
"Wow! Can't register IRQ for DMA
\n
"
);
kfree
(
dma_channels
);
return
ret
;
}
/* dma channel priorities on pxa2xx processors:
/* dma channel priorities on pxa2xx processors:
* ch 0 - 3, 16 - 19 <--> (0) DMA_PRIO_HIGH
* ch 0 - 3, 16 - 19 <--> (0) DMA_PRIO_HIGH
* ch 4 - 7, 20 - 23 <--> (1) DMA_PRIO_MEDIUM
* ch 4 - 7, 20 - 23 <--> (1) DMA_PRIO_MEDIUM
* ch 8 - 15, 24 - 31 <--> (2) DMA_PRIO_LOW
* ch 8 - 15, 24 - 31 <--> (2) DMA_PRIO_LOW
*/
*/
for
(
i
=
0
;
i
<
num_ch
;
i
++
)
for
(
i
=
0
;
i
<
num_ch
;
i
++
)
{
DCSR
(
i
)
=
0
;
dma_channels
[
i
].
prio
=
min
((
i
&
0xf
)
>>
2
,
DMA_PRIO_LOW
);
dma_channels
[
i
].
prio
=
min
((
i
&
0xf
)
>>
2
,
DMA_PRIO_LOW
);
}
ret
=
request_irq
(
IRQ_DMA
,
dma_irq_handler
,
IRQF_DISABLED
,
"DMA"
,
NULL
);
if
(
ret
)
{
printk
(
KERN_CRIT
"Wow! Can't register IRQ for DMA
\n
"
);
kfree
(
dma_channels
);
return
ret
;
}
num_dma_channels
=
num_ch
;
num_dma_channels
=
num_ch
;
return
0
;
return
0
;
...
...
arch/arm/mach-pxa/include/mach/regs-ac97.h
浏览文件 @
286ce0ac
#ifndef __ASM_ARCH_REGS_AC97_H
#ifndef __ASM_ARCH_REGS_AC97_H
#define __ASM_ARCH_REGS_AC97_H
#define __ASM_ARCH_REGS_AC97_H
#include <mach/hardware.h>
/*
/*
* AC97 Controller registers
* AC97 Controller registers
*/
*/
...
...
arch/arm/mach-pxa/include/mach/regs-ssp.h
浏览文件 @
286ce0ac
...
@@ -41,6 +41,9 @@
...
@@ -41,6 +41,9 @@
#elif defined(CONFIG_PXA27x) || defined(CONFIG_PXA3xx)
#elif defined(CONFIG_PXA27x) || defined(CONFIG_PXA3xx)
#define SSCR0_SCR (0x000fff00)
/* Serial Clock Rate (mask) */
#define SSCR0_SCR (0x000fff00)
/* Serial Clock Rate (mask) */
#define SSCR0_SerClkDiv(x) (((x) - 1) << 8)
/* Divisor [1..4096] */
#define SSCR0_SerClkDiv(x) (((x) - 1) << 8)
/* Divisor [1..4096] */
#endif
#if defined(CONFIG_PXA27x) || defined(CONFIG_PXA3xx)
#define SSCR0_EDSS (1 << 20)
/* Extended data size select */
#define SSCR0_EDSS (1 << 20)
/* Extended data size select */
#define SSCR0_NCS (1 << 21)
/* Network clock select */
#define SSCR0_NCS (1 << 21)
/* Network clock select */
#define SSCR0_RIM (1 << 22)
/* Receive FIFO overrrun interrupt mask */
#define SSCR0_RIM (1 << 22)
/* Receive FIFO overrrun interrupt mask */
...
...
arch/arm/mach-pxa/pxa300.c
浏览文件 @
286ce0ac
...
@@ -88,13 +88,13 @@ static struct pxa3xx_mfp_addr_map pxa310_mfp_addr_map[] __initdata = {
...
@@ -88,13 +88,13 @@ static struct pxa3xx_mfp_addr_map pxa310_mfp_addr_map[] __initdata = {
static
DEFINE_PXA3_CKEN
(
common_nand
,
NAND
,
156000000
,
0
);
static
DEFINE_PXA3_CKEN
(
common_nand
,
NAND
,
156000000
,
0
);
static
struct
clk_lookup
common_clkregs
[]
=
{
static
struct
clk_lookup
common_clkregs
[]
=
{
INIT_CLKREG
(
&
clk_common_nand
,
"pxa3xx-nand"
,
"NANDCLK"
),
INIT_CLKREG
(
&
clk_common_nand
,
"pxa3xx-nand"
,
NULL
),
};
};
static
DEFINE_PXA3_CKEN
(
pxa310_mmc3
,
MMC3
,
19500000
,
0
);
static
DEFINE_PXA3_CKEN
(
pxa310_mmc3
,
MMC3
,
19500000
,
0
);
static
struct
clk_lookup
pxa310_clkregs
[]
=
{
static
struct
clk_lookup
pxa310_clkregs
[]
=
{
INIT_CLKREG
(
&
clk_pxa310_mmc3
,
"pxa2xx-mci.2"
,
"MMCCLK"
),
INIT_CLKREG
(
&
clk_pxa310_mmc3
,
"pxa2xx-mci.2"
,
NULL
),
};
};
static
int
__init
pxa300_init
(
void
)
static
int
__init
pxa300_init
(
void
)
...
...
arch/arm/mach-pxa/pxa320.c
浏览文件 @
286ce0ac
...
@@ -83,7 +83,7 @@ static struct pxa3xx_mfp_addr_map pxa320_mfp_addr_map[] __initdata = {
...
@@ -83,7 +83,7 @@ static struct pxa3xx_mfp_addr_map pxa320_mfp_addr_map[] __initdata = {
static
DEFINE_PXA3_CKEN
(
pxa320_nand
,
NAND
,
104000000
,
0
);
static
DEFINE_PXA3_CKEN
(
pxa320_nand
,
NAND
,
104000000
,
0
);
static
struct
clk_lookup
pxa320_clkregs
[]
=
{
static
struct
clk_lookup
pxa320_clkregs
[]
=
{
INIT_CLKREG
(
&
clk_pxa320_nand
,
"pxa3xx-nand"
,
"NANDCLK"
),
INIT_CLKREG
(
&
clk_pxa320_nand
,
"pxa3xx-nand"
,
NULL
),
};
};
static
int
__init
pxa320_init
(
void
)
static
int
__init
pxa320_init
(
void
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录