Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
bfc7c89f
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看板
提交
bfc7c89f
编写于
17年前
作者:
J
Jeff Garzik
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[ISDN] Remove CONFIG_PCI ifdefs from 100% PCI source code
Signed-off-by:
N
Jeff Garzik
<
jeff@garzik.org
>
上级
782e3b3b
无相关合并请求
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
3 addition
and
20 deletion
+3
-20
drivers/isdn/hisax/bkm_a8.c
drivers/isdn/hisax/bkm_a8.c
+0
-8
drivers/isdn/hisax/telespci.c
drivers/isdn/hisax/telespci.c
+2
-6
drivers/isdn/hisax/w6692.c
drivers/isdn/hisax/w6692.c
+1
-6
未找到文件。
drivers/isdn/hisax/bkm_a8.c
浏览文件 @
bfc7c89f
...
...
@@ -20,8 +20,6 @@
#include <linux/pci.h>
#include "bkm_ax.h"
#ifdef CONFIG_PCI
#define ATTEMPT_PCI_REMAPPING
/* Required for PLX rev 1 */
extern
const
char
*
CardType
[];
...
...
@@ -279,12 +277,9 @@ static u_char pci_bus __devinitdata = 0;
static
u_char
pci_device_fn
__devinitdata
=
0
;
static
u_char
pci_irq
__devinitdata
=
0
;
#endif
/* CONFIG_PCI */
int
__devinit
setup_sct_quadro
(
struct
IsdnCard
*
card
)
{
#ifdef CONFIG_PCI
struct
IsdnCardState
*
cs
=
card
->
cs
;
char
tmp
[
64
];
u_int
found
=
0
;
...
...
@@ -442,7 +437,4 @@ setup_sct_quadro(struct IsdnCard *card)
sct_quadro_subtypes
[
cs
->
subtyp
],
readreg
(
cs
->
hw
.
ax
.
base
,
cs
->
hw
.
ax
.
data_adr
,
IPAC_ID
));
return
(
1
);
#else
printk
(
KERN_ERR
"HiSax: bkm_a8 only supported on PCI Systems
\n
"
);
#endif
/* CONFIG_PCI */
}
This diff is collapsed.
Click to expand it.
drivers/isdn/hisax/telespci.c
浏览文件 @
bfc7c89f
...
...
@@ -295,11 +295,12 @@ setup_telespci(struct IsdnCard *card)
#ifdef __BIG_ENDIAN
#error "not running on big endian machines now"
#endif
strcpy
(
tmp
,
telespci_revision
);
printk
(
KERN_INFO
"HiSax: Teles/PCI driver Rev. %s
\n
"
,
HiSax_getrev
(
tmp
));
if
(
cs
->
typ
!=
ISDN_CTYPE_TELESPCI
)
return
(
0
);
#ifdef CONFIG_PCI
if
((
dev_tel
=
pci_find_device
(
PCI_VENDOR_ID_ZORAN
,
PCI_DEVICE_ID_ZORAN_36120
,
dev_tel
)))
{
if
(
pci_enable_device
(
dev_tel
))
return
(
0
);
...
...
@@ -317,11 +318,6 @@ setup_telespci(struct IsdnCard *card)
printk
(
KERN_WARNING
"TelesPCI: No PCI card found
\n
"
);
return
(
0
);
}
#else
printk
(
KERN_WARNING
"HiSax: Teles/PCI and NO_PCI_BIOS
\n
"
);
printk
(
KERN_WARNING
"HiSax: Teles/PCI unable to config
\n
"
);
return
(
0
);
#endif
/* CONFIG_PCI */
/* Initialize Zoran PCI controller */
writel
(
0x00000000
,
cs
->
hw
.
teles0
.
membase
+
0x28
);
...
...
This diff is collapsed.
Click to expand it.
drivers/isdn/hisax/w6692.c
浏览文件 @
bfc7c89f
...
...
@@ -1009,7 +1009,7 @@ setup_w6692(struct IsdnCard *card)
printk
(
KERN_INFO
"HiSax: W6692 driver Rev. %s
\n
"
,
HiSax_getrev
(
tmp
));
if
(
cs
->
typ
!=
ISDN_CTYPE_W6692
)
return
(
0
);
#ifdef CONFIG_PCI
while
(
id_list
[
id_idx
].
vendor_id
)
{
dev_w6692
=
pci_find_device
(
id_list
[
id_idx
].
vendor_id
,
id_list
[
id_idx
].
device_id
,
...
...
@@ -1061,11 +1061,6 @@ setup_w6692(struct IsdnCard *card)
cs
->
hw
.
w6692
.
iobase
+
255
);
return
(
0
);
}
#else
printk
(
KERN_WARNING
"HiSax: W6692 and NO_PCI_BIOS
\n
"
);
printk
(
KERN_WARNING
"HiSax: W6692 unable to config
\n
"
);
return
(
0
);
#endif
/* CONFIG_PCI */
printk
(
KERN_INFO
"HiSax: %s config irq:%d I/O:%x
\n
"
,
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录
反馈
建议
客服
返回
顶部