Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
94bf2758
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看板
提交
94bf2758
编写于
9月 23, 2010
作者:
R
Russell King
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-rmk' of
git://git.kernel.org/pub/scm/linux/kernel/git/nico/orion
上级
d93c333d
f539dfed
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
12 addition
and
11 deletion
+12
-11
arch/arm/mach-dove/include/mach/io.h
arch/arm/mach-dove/include/mach/io.h
+3
-3
arch/arm/mach-kirkwood/include/mach/kirkwood.h
arch/arm/mach-kirkwood/include/mach/kirkwood.h
+1
-1
arch/arm/mach-kirkwood/pcie.c
arch/arm/mach-kirkwood/pcie.c
+2
-2
drivers/dma/mv_xor.c
drivers/dma/mv_xor.c
+1
-1
drivers/leds/leds-ns2.c
drivers/leds/leds-ns2.c
+5
-4
未找到文件。
arch/arm/mach-dove/include/mach/io.h
浏览文件 @
94bf2758
...
...
@@ -13,7 +13,7 @@
#define IO_SPACE_LIMIT 0xffffffff
#define __io(a)
((void __iomem *)(((a) - DOVE_PCIE0_IO_PHYS_BASE) +
\
#define __io(a)
((void __iomem *)(((a) - DOVE_PCIE0_IO_BUS_BASE) +
\
DOVE_PCIE0_IO_VIRT_BASE))
#define __mem_pci(a) (a)
...
...
arch/arm/mach-kirkwood/include/mach/kirkwood.h
浏览文件 @
94bf2758
...
...
@@ -38,7 +38,7 @@
#define KIRKWOOD_PCIE1_IO_PHYS_BASE 0xf3000000
#define KIRKWOOD_PCIE1_IO_VIRT_BASE 0xfef00000
#define KIRKWOOD_PCIE1_IO_BUS_BASE 0x00
0
00000
#define KIRKWOOD_PCIE1_IO_BUS_BASE 0x00
1
00000
#define KIRKWOOD_PCIE1_IO_SIZE SZ_1M
#define KIRKWOOD_PCIE_IO_PHYS_BASE 0xf2000000
...
...
arch/arm/mach-kirkwood/pcie.c
浏览文件 @
94bf2758
...
...
@@ -117,7 +117,7 @@ static void __init pcie0_ioresources_init(struct pcie_port *pp)
* IORESOURCE_IO
*/
pp
->
res
[
0
].
name
=
"PCIe 0 I/O Space"
;
pp
->
res
[
0
].
start
=
KIRKWOOD_PCIE_IO_
PHY
S_BASE
;
pp
->
res
[
0
].
start
=
KIRKWOOD_PCIE_IO_
BU
S_BASE
;
pp
->
res
[
0
].
end
=
pp
->
res
[
0
].
start
+
KIRKWOOD_PCIE_IO_SIZE
-
1
;
pp
->
res
[
0
].
flags
=
IORESOURCE_IO
;
...
...
@@ -139,7 +139,7 @@ static void __init pcie1_ioresources_init(struct pcie_port *pp)
* IORESOURCE_IO
*/
pp
->
res
[
0
].
name
=
"PCIe 1 I/O Space"
;
pp
->
res
[
0
].
start
=
KIRKWOOD_PCIE1_IO_
PHY
S_BASE
;
pp
->
res
[
0
].
start
=
KIRKWOOD_PCIE1_IO_
BU
S_BASE
;
pp
->
res
[
0
].
end
=
pp
->
res
[
0
].
start
+
KIRKWOOD_PCIE1_IO_SIZE
-
1
;
pp
->
res
[
0
].
flags
=
IORESOURCE_IO
;
...
...
drivers/dma/mv_xor.c
浏览文件 @
94bf2758
...
...
@@ -162,7 +162,7 @@ static int mv_is_err_intr(u32 intr_cause)
static
void
mv_xor_device_clear_eoc_cause
(
struct
mv_xor_chan
*
chan
)
{
u32
val
=
(
1
<<
(
1
+
(
chan
->
idx
*
16
)
));
u32
val
=
~
(
1
<<
(
chan
->
idx
*
16
));
dev_dbg
(
chan
->
device
->
common
.
dev
,
"%s, val 0x%08x
\n
"
,
__func__
,
val
);
__raw_writel
(
val
,
XOR_INTR_CAUSE
(
chan
));
}
...
...
drivers/leds/leds-ns2.c
浏览文件 @
94bf2758
...
...
@@ -81,7 +81,7 @@ static int ns2_led_get_mode(struct ns2_led_data *led_dat,
int
cmd_level
;
int
slow_level
;
read_lock
(
&
led_dat
->
rw_lock
);
read_lock
_irq
(
&
led_dat
->
rw_lock
);
cmd_level
=
gpio_get_value
(
led_dat
->
cmd
);
slow_level
=
gpio_get_value
(
led_dat
->
slow
);
...
...
@@ -95,7 +95,7 @@ static int ns2_led_get_mode(struct ns2_led_data *led_dat,
}
}
read_unlock
(
&
led_dat
->
rw_lock
);
read_unlock
_irq
(
&
led_dat
->
rw_lock
);
return
ret
;
}
...
...
@@ -104,8 +104,9 @@ static void ns2_led_set_mode(struct ns2_led_data *led_dat,
enum
ns2_led_modes
mode
)
{
int
i
;
unsigned
long
flags
;
write_lock
(
&
led_dat
->
rw_lock
);
write_lock
_irqsave
(
&
led_dat
->
rw_lock
,
flags
);
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
ns2_led_modval
);
i
++
)
{
if
(
mode
==
ns2_led_modval
[
i
].
mode
)
{
...
...
@@ -116,7 +117,7 @@ static void ns2_led_set_mode(struct ns2_led_data *led_dat,
}
}
write_unlock
(
&
led_dat
->
rw_lock
);
write_unlock
_irqrestore
(
&
led_dat
->
rw_lock
,
flags
);
}
static
void
ns2_led_set
(
struct
led_classdev
*
led_cdev
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录