Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
5be661a2
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5be661a2
编写于
5月 02, 2008
作者:
P
Paul Mackerras
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'powerpc-next' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc
上级
fbe543b4
b17b8181
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
37 addition
and
9 deletion
+37
-9
arch/powerpc/boot/dts/mpc8610_hpcd.dts
arch/powerpc/boot/dts/mpc8610_hpcd.dts
+22
-1
arch/powerpc/sysdev/fsl_rio.c
arch/powerpc/sysdev/fsl_rio.c
+7
-2
arch/powerpc/sysdev/fsl_soc.c
arch/powerpc/sysdev/fsl_soc.c
+2
-2
arch/powerpc/sysdev/xilinx_intc.c
arch/powerpc/sysdev/xilinx_intc.c
+1
-1
drivers/char/xilinx_hwicap/xilinx_hwicap.c
drivers/char/xilinx_hwicap/xilinx_hwicap.c
+3
-3
include/linux/rio.h
include/linux/rio.h
+2
-0
未找到文件。
arch/powerpc/boot/dts/mpc8610_hpcd.dts
浏览文件 @
5be661a2
...
...
@@ -21,6 +21,7 @@
serial1
=
&
serial1
;
pci0
=
&
pci0
;
pci1
=
&
pci1
;
pci2
=
&
pci2
;
};
cpus
{
...
...
@@ -105,7 +106,7 @@
compatible
=
"ns16550"
;
reg
=
<
0x4600
0x100
>;
clock
-
frequency
=
<
0
>;
interrupts
=
<
28
2
>;
interrupts
=
<
42
2
>;
interrupt
-
parent
=
<&
mpic
>;
};
...
...
@@ -322,4 +323,24 @@
};
};
};
pci2
:
pcie
@
e0009000
{
#
address
-
cells
=
<
3
>;
#
size
-
cells
=
<
2
>;
#
interrupt
-
cells
=
<
1
>;
device_type
=
"pci"
;
compatible
=
"fsl,mpc8641-pcie"
;
reg
=
<
0xe0009000
0x00001000
>;
ranges
=
<
0x02000000
0
0x90000000
0x90000000
0
0x10000000
0x01000000
0
0x00000000
0xe2000000
0
0x00100000
>;
bus
-
range
=
<
0
255
>;
interrupt
-
map
-
mask
=
<
0xf800
0
0
7
>;
interrupt
-
map
=
<
0x0000
0
0
1
&
mpic
4
1
0x0000
0
0
2
&
mpic
5
1
0x0000
0
0
3
&
mpic
6
1
0x0000
0
0
4
&
mpic
7
1
>;
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
25
2
>;
clock
-
frequency
=
<
33333333
>;
};
};
arch/powerpc/sysdev/fsl_rio.c
浏览文件 @
5be661a2
...
...
@@ -176,6 +176,7 @@ struct rio_priv {
/**
* fsl_rio_doorbell_send - Send a MPC85xx doorbell message
* @mport: RapidIO master port info
* @index: ID of RapidIO interface
* @destid: Destination ID of target device
* @data: 16-bit info field of RapidIO doorbell message
...
...
@@ -211,6 +212,7 @@ static int fsl_rio_doorbell_send(struct rio_mport *mport,
/**
* fsl_local_config_read - Generate a MPC85xx local config space read
* @mport: RapidIO master port info
* @index: ID of RapdiIO interface
* @offset: Offset into configuration space
* @len: Length (in bytes) of the maintenance transaction
...
...
@@ -232,6 +234,7 @@ static int fsl_local_config_read(struct rio_mport *mport,
/**
* fsl_local_config_write - Generate a MPC85xx local config space write
* @mport: RapidIO master port info
* @index: ID of RapdiIO interface
* @offset: Offset into configuration space
* @len: Length (in bytes) of the maintenance transaction
...
...
@@ -254,6 +257,7 @@ static int fsl_local_config_write(struct rio_mport *mport,
/**
* fsl_rio_config_read - Generate a MPC85xx read maintenance transaction
* @mport: RapidIO master port info
* @index: ID of RapdiIO interface
* @destid: Destination ID of transaction
* @hopcount: Number of hops to target device
...
...
@@ -295,6 +299,7 @@ fsl_rio_config_read(struct rio_mport *mport, int index, u16 destid,
/**
* fsl_rio_config_write - Generate a MPC85xx write maintenance transaction
* @mport: RapidIO master port info
* @index: ID of RapdiIO interface
* @destid: Destination ID of transaction
* @hopcount: Number of hops to target device
...
...
@@ -985,8 +990,8 @@ static inline void fsl_rio_info(struct device *dev, u32 ccsr)
}
/**
* fsl_rio_setup - Setup
MPC85xx
RapidIO interface
* @
fsl_rio_setup - Setup Freescale PowerPC RapidIO interface
* fsl_rio_setup - Setup
Freescale PowerPC
RapidIO interface
* @
dev: of_device pointer
*
* Initializes MPC85xx RapidIO hardware interface, configures
* master port with system-specific info, and registers the
...
...
arch/powerpc/sysdev/fsl_soc.c
浏览文件 @
5be661a2
...
...
@@ -389,8 +389,8 @@ static int __init gfar_of_init(void)
}
gfar_data
.
phy_id
=
*
id
;
snprintf
(
gfar_data
.
bus_id
,
MII_BUS_ID_SIZE
,
"%x"
,
res
.
start
);
snprintf
(
gfar_data
.
bus_id
,
MII_BUS_ID_SIZE
,
"%
ll
x"
,
(
unsigned
long
long
)
res
.
start
);
of_node_put
(
phy
);
of_node_put
(
mdio
);
...
...
arch/powerpc/sysdev/xilinx_intc.c
浏览文件 @
5be661a2
...
...
@@ -107,7 +107,7 @@ xilinx_intc_init(struct device_node *np)
}
regs
=
ioremap
(
res
.
start
,
32
);
printk
(
KERN_INFO
"Xilinx intc at 0x%08X mapped to 0x%p
\n
"
,
printk
(
KERN_INFO
"Xilinx intc at 0x%08
L
X mapped to 0x%p
\n
"
,
res
.
start
,
regs
);
/* Setup interrupt controller */
...
...
drivers/char/xilinx_hwicap/xilinx_hwicap.c
浏览文件 @
5be661a2
...
...
@@ -623,8 +623,8 @@ static int __devinit hwicap_setup(struct device *dev, int id,
if
(
!
request_mem_region
(
drvdata
->
mem_start
,
drvdata
->
mem_size
,
DRIVER_NAME
))
{
dev_err
(
dev
,
"Couldn't lock memory region at %
p
\n
"
,
(
void
*
)
regs_res
->
start
);
dev_err
(
dev
,
"Couldn't lock memory region at %
Lx
\n
"
,
regs_res
->
start
);
retval
=
-
EBUSY
;
goto
failed1
;
}
...
...
@@ -643,7 +643,7 @@ static int __devinit hwicap_setup(struct device *dev, int id,
mutex_init
(
&
drvdata
->
sem
);
drvdata
->
is_open
=
0
;
dev_info
(
dev
,
"ioremap %lx to %p with size %x
\n
"
,
dev_info
(
dev
,
"ioremap %lx to %p with size %
L
x
\n
"
,
(
unsigned
long
int
)
drvdata
->
mem_start
,
drvdata
->
base_address
,
drvdata
->
mem_size
);
...
...
include/linux/rio.h
浏览文件 @
5be661a2
...
...
@@ -163,6 +163,8 @@ enum rio_phy_type {
* @ops: configuration space functions
* @id: Port ID, unique among all ports
* @index: Port index, unique among all port interfaces of the same type
* @sys_size: RapidIO common transport system size
* @phy_type: RapidIO phy type
* @name: Port name string
* @priv: Master port private data
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录