Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
0bba2dd8
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看板
提交
0bba2dd8
编写于
3月 08, 2007
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[SPARC64]: Kill pbm->pci_first_slot.
Set but never used. Signed-off-by:
N
David S. Miller
<
davem@davemloft.net
>
上级
3875c5c0
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
2 addition
and
17 deletion
+2
-17
arch/sparc64/kernel/of_device.c
arch/sparc64/kernel/of_device.c
+0
-6
arch/sparc64/kernel/pci_psycho.c
arch/sparc64/kernel/pci_psycho.c
+2
-5
arch/sparc64/kernel/pci_sabre.c
arch/sparc64/kernel/pci_sabre.c
+0
-1
arch/sparc64/kernel/pci_schizo.c
arch/sparc64/kernel/pci_schizo.c
+0
-1
arch/sparc64/kernel/pci_sun4v.c
arch/sparc64/kernel/pci_sun4v.c
+0
-1
include/asm-sparc64/pbm.h
include/asm-sparc64/pbm.h
+0
-3
未找到文件。
arch/sparc64/kernel/of_device.c
浏览文件 @
0bba2dd8
...
...
@@ -759,12 +759,6 @@ static unsigned int __init pci_irq_swizzle(struct device_node *dp,
* D: 2-bit slot number, derived from PCI device number as
* (dev - 1) for bus A, or (dev - 2) for bus B
* L: 2-bit line number
*
* Actually, more "portable" way to calculate the funky
* slot number is to subtract pbm->pci_first_slot from the
* device number, and that's exactly what the pre-OF
* sparc64 code did, but we're building this stuff generically
* using the OBP tree, not in the PCI controller layer.
*/
if
(
bus
&
0x80
)
{
/* PBM-A */
...
...
arch/sparc64/kernel/pci_psycho.c
浏览文件 @
0bba2dd8
...
...
@@ -1085,13 +1085,10 @@ static void psycho_pbm_init(struct pci_controller_info *p,
struct
property
*
prop
;
struct
pci_pbm_info
*
pbm
;
if
(
is_pbm_a
)
{
if
(
is_pbm_a
)
pbm
=
&
p
->
pbm_A
;
pbm
->
pci_first_slot
=
1
;
}
else
{
else
pbm
=
&
p
->
pbm_B
;
pbm
->
pci_first_slot
=
2
;
}
pbm
->
chip_type
=
PBM_CHIP_TYPE_PSYCHO
;
pbm
->
chip_version
=
0
;
...
...
arch/sparc64/kernel/pci_sabre.c
浏览文件 @
0bba2dd8
...
...
@@ -995,7 +995,6 @@ static void sabre_pbm_init(struct pci_controller_info *p, struct device_node *dp
pbm
->
chip_type
=
PBM_CHIP_TYPE_SABRE
;
pbm
->
parent
=
p
;
pbm
->
prom_node
=
dp
;
pbm
->
pci_first_slot
=
1
;
pbm
->
pci_first_busno
=
p
->
pci_first_busno
;
pbm
->
pci_last_busno
=
p
->
pci_last_busno
;
...
...
arch/sparc64/kernel/pci_schizo.c
浏览文件 @
0bba2dd8
...
...
@@ -1528,7 +1528,6 @@ static void schizo_pbm_init(struct pci_controller_info *p,
pbm
->
portid
=
portid
;
pbm
->
parent
=
p
;
pbm
->
prom_node
=
dp
;
pbm
->
pci_first_slot
=
1
;
pbm
->
chip_type
=
chip_type
;
pbm
->
chip_version
=
of_getintprop_default
(
dp
,
"version#"
,
0
);
...
...
arch/sparc64/kernel/pci_sun4v.c
浏览文件 @
0bba2dd8
...
...
@@ -1256,7 +1256,6 @@ static void pci_sun4v_pbm_init(struct pci_controller_info *p, struct device_node
pbm
->
parent
=
p
;
pbm
->
prom_node
=
dp
;
pbm
->
pci_first_slot
=
1
;
pbm
->
devhandle
=
devhandle
;
...
...
include/asm-sparc64/pbm.h
浏览文件 @
0bba2dd8
...
...
@@ -197,9 +197,6 @@ struct pci_pbm_info {
/* IOMMU state, potentially shared by both PBM segments. */
struct
pci_iommu
*
iommu
;
/* PCI slot mapping. */
unsigned
int
pci_first_slot
;
/* Now things for the actual PCI bus probes. */
unsigned
int
pci_first_busno
;
unsigned
int
pci_last_busno
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录