Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
f7257d38
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
f7257d38
编写于
6月 04, 2012
作者:
R
Ralf Baechle
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
MIPS: PCI: Add missing __devinit attributions to fixup functions.
Signed-off-by:
N
Ralf Baechle
<
ralf@linux-mips.org
>
上级
a6196bab
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
9 addition
and
9 deletion
+9
-9
arch/mips/pci/fixup-cobalt.c
arch/mips/pci/fixup-cobalt.c
+4
-4
arch/mips/pci/fixup-rc32434.c
arch/mips/pci/fixup-rc32434.c
+1
-1
arch/mips/pci/ops-bcm63xx.c
arch/mips/pci/ops-bcm63xx.c
+1
-1
arch/mips/txx9/generic/pci.c
arch/mips/txx9/generic/pci.c
+3
-3
未找到文件。
arch/mips/pci/fixup-cobalt.c
浏览文件 @
f7257d38
...
...
@@ -37,7 +37,7 @@
#define VIA_COBALT_BRD_ID_REG 0x94
#define VIA_COBALT_BRD_REG_to_ID(reg) ((unsigned char)(reg) >> 4)
static
void
qube_raq_galileo_early_fixup
(
struct
pci_dev
*
dev
)
static
void
__devinit
qube_raq_galileo_early_fixup
(
struct
pci_dev
*
dev
)
{
if
(
dev
->
devfn
==
PCI_DEVFN
(
0
,
0
)
&&
(
dev
->
class
>>
8
)
==
PCI_CLASS_MEMORY_OTHER
)
{
...
...
@@ -51,7 +51,7 @@ static void qube_raq_galileo_early_fixup(struct pci_dev *dev)
DECLARE_PCI_FIXUP_EARLY
(
PCI_VENDOR_ID_MARVELL
,
PCI_DEVICE_ID_MARVELL_GT64111
,
qube_raq_galileo_early_fixup
);
static
void
qube_raq_via_bmIDE_fixup
(
struct
pci_dev
*
dev
)
static
void
__devinit
qube_raq_via_bmIDE_fixup
(
struct
pci_dev
*
dev
)
{
unsigned
short
cfgword
;
unsigned
char
lt
;
...
...
@@ -74,7 +74,7 @@ static void qube_raq_via_bmIDE_fixup(struct pci_dev *dev)
DECLARE_PCI_FIXUP_HEADER
(
PCI_VENDOR_ID_VIA
,
PCI_DEVICE_ID_VIA_82C586_1
,
qube_raq_via_bmIDE_fixup
);
static
void
qube_raq_galileo_fixup
(
struct
pci_dev
*
dev
)
static
void
__devinit
qube_raq_galileo_fixup
(
struct
pci_dev
*
dev
)
{
if
(
dev
->
devfn
!=
PCI_DEVFN
(
0
,
0
))
return
;
...
...
@@ -129,7 +129,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL, PCI_DEVICE_ID_MARVELL_GT64111,
int
cobalt_board_id
;
static
void
qube_raq_via_board_id_fixup
(
struct
pci_dev
*
dev
)
static
void
__devinit
qube_raq_via_board_id_fixup
(
struct
pci_dev
*
dev
)
{
u8
id
;
int
retval
;
...
...
arch/mips/pci/fixup-rc32434.c
浏览文件 @
f7257d38
...
...
@@ -47,7 +47,7 @@ int __devinit pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
return
irq
+
GROUP4_IRQ_BASE
+
4
;
}
static
void
rc32434_pci_early_fixup
(
struct
pci_dev
*
dev
)
static
void
__devinit
rc32434_pci_early_fixup
(
struct
pci_dev
*
dev
)
{
if
(
PCI_SLOT
(
dev
->
devfn
)
==
6
&&
dev
->
bus
->
number
==
0
)
{
/* disable prefetched memory range */
...
...
arch/mips/pci/ops-bcm63xx.c
浏览文件 @
f7257d38
...
...
@@ -411,7 +411,7 @@ struct pci_ops bcm63xx_cb_ops = {
* only one IO window, so it cannot be shared by PCI and cardbus, use
* fixup to choose and detect unhandled configuration
*/
static
void
bcm63xx_fixup
(
struct
pci_dev
*
dev
)
static
void
__devinit
bcm63xx_fixup
(
struct
pci_dev
*
dev
)
{
static
int
io_window
=
-
1
;
int
i
,
found
,
new_io_window
;
...
...
arch/mips/txx9/generic/pci.c
浏览文件 @
f7257d38
...
...
@@ -304,7 +304,7 @@ static void __devinit quirk_slc90e66_bridge(struct pci_dev *dev)
smsc_fdc37m81x_config_end
();
}
static
void
quirk_slc90e66_ide
(
struct
pci_dev
*
dev
)
static
void
__devinit
quirk_slc90e66_ide
(
struct
pci_dev
*
dev
)
{
unsigned
char
dat
;
int
regs
[
2
]
=
{
0x41
,
0x43
};
...
...
@@ -339,7 +339,7 @@ static void quirk_slc90e66_ide(struct pci_dev *dev)
}
#endif
/* CONFIG_TOSHIBA_FPCIB0 */
static
void
tc35815_fixup
(
struct
pci_dev
*
dev
)
static
void
__devinit
tc35815_fixup
(
struct
pci_dev
*
dev
)
{
/* This device may have PM registers but not they are not suported. */
if
(
dev
->
pm_cap
)
{
...
...
@@ -348,7 +348,7 @@ static void tc35815_fixup(struct pci_dev *dev)
}
}
static
void
final_fixup
(
struct
pci_dev
*
dev
)
static
void
__devinit
final_fixup
(
struct
pci_dev
*
dev
)
{
unsigned
char
bist
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录