Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
86f584f0
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看板
提交
86f584f0
编写于
7月 01, 2008
作者:
K
Krzysztof Hałasa
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove bogus dosyncppp variable from synclink drivers.
Signed-off-by:
N
Krzysztof Hałasa
<
khc@pm.waw.pl
>
上级
4dfce407
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
0 addition
and
17 deletion
+0
-17
drivers/char/pcmcia/synclink_cs.c
drivers/char/pcmcia/synclink_cs.c
+0
-4
drivers/char/synclink.c
drivers/char/synclink.c
+0
-4
drivers/char/synclink_gt.c
drivers/char/synclink_gt.c
+0
-5
drivers/char/synclinkmp.c
drivers/char/synclinkmp.c
+0
-4
未找到文件。
drivers/char/pcmcia/synclink_cs.c
浏览文件 @
86f584f0
...
...
@@ -232,7 +232,6 @@ typedef struct _mgslpc_info {
/* SPPP/Cisco HDLC device parts */
int
netcount
;
int
dosyncppp
;
spinlock_t
netlock
;
#if SYNCLINK_GENERIC_HDLC
...
...
@@ -459,13 +458,11 @@ static int ttymajor=0;
static
int
debug_level
=
0
;
static
int
maxframe
[
MAX_DEVICE_COUNT
]
=
{
0
,};
static
int
dosyncppp
[
MAX_DEVICE_COUNT
]
=
{
1
,
1
,
1
,
1
};
module_param
(
break_on_load
,
bool
,
0
);
module_param
(
ttymajor
,
int
,
0
);
module_param
(
debug_level
,
int
,
0
);
module_param_array
(
maxframe
,
int
,
NULL
,
0
);
module_param_array
(
dosyncppp
,
int
,
NULL
,
0
);
MODULE_LICENSE
(
"GPL"
);
...
...
@@ -2914,7 +2911,6 @@ static void mgslpc_add_device(MGSLPC_INFO *info)
if
(
info
->
line
<
MAX_DEVICE_COUNT
)
{
if
(
maxframe
[
info
->
line
])
info
->
max_frame_size
=
maxframe
[
info
->
line
];
info
->
dosyncppp
=
dosyncppp
[
info
->
line
];
}
mgslpc_device_count
++
;
...
...
drivers/char/synclink.c
浏览文件 @
86f584f0
...
...
@@ -304,7 +304,6 @@ struct mgsl_struct {
/* generic HDLC device parts */
int
netcount
;
int
dosyncppp
;
spinlock_t
netlock
;
#if SYNCLINK_GENERIC_HDLC
...
...
@@ -868,7 +867,6 @@ static int irq[MAX_ISA_DEVICES];
static
int
dma
[
MAX_ISA_DEVICES
];
static
int
debug_level
;
static
int
maxframe
[
MAX_TOTAL_DEVICES
];
static
int
dosyncppp
[
MAX_TOTAL_DEVICES
];
static
int
txdmabufs
[
MAX_TOTAL_DEVICES
];
static
int
txholdbufs
[
MAX_TOTAL_DEVICES
];
...
...
@@ -879,7 +877,6 @@ module_param_array(irq, int, NULL, 0);
module_param_array
(
dma
,
int
,
NULL
,
0
);
module_param
(
debug_level
,
int
,
0
);
module_param_array
(
maxframe
,
int
,
NULL
,
0
);
module_param_array
(
dosyncppp
,
int
,
NULL
,
0
);
module_param_array
(
txdmabufs
,
int
,
NULL
,
0
);
module_param_array
(
txholdbufs
,
int
,
NULL
,
0
);
...
...
@@ -4257,7 +4254,6 @@ static void mgsl_add_device( struct mgsl_struct *info )
if
(
info
->
line
<
MAX_TOTAL_DEVICES
)
{
if
(
maxframe
[
info
->
line
])
info
->
max_frame_size
=
maxframe
[
info
->
line
];
info
->
dosyncppp
=
dosyncppp
[
info
->
line
];
if
(
txdmabufs
[
info
->
line
])
{
info
->
num_tx_dma_buffers
=
txdmabufs
[
info
->
line
];
...
...
drivers/char/synclink_gt.c
浏览文件 @
86f584f0
...
...
@@ -128,17 +128,14 @@ static int slgt_device_count;
static
int
ttymajor
;
static
int
debug_level
;
static
int
maxframe
[
MAX_DEVICES
];
static
int
dosyncppp
[
MAX_DEVICES
];
module_param
(
ttymajor
,
int
,
0
);
module_param
(
debug_level
,
int
,
0
);
module_param_array
(
maxframe
,
int
,
NULL
,
0
);
module_param_array
(
dosyncppp
,
int
,
NULL
,
0
);
MODULE_PARM_DESC
(
ttymajor
,
"TTY major device number override: 0=auto assigned"
);
MODULE_PARM_DESC
(
debug_level
,
"Debug syslog output: 0=disabled, 1 to 5=increasing detail"
);
MODULE_PARM_DESC
(
maxframe
,
"Maximum frame size used by device (4096 to 65535)"
);
MODULE_PARM_DESC
(
dosyncppp
,
"Enable synchronous net device, 0=disable 1=enable"
);
/*
* tty support and callbacks
...
...
@@ -348,7 +345,6 @@ struct slgt_info {
/* SPPP/Cisco HDLC device parts */
int
netcount
;
int
dosyncppp
;
spinlock_t
netlock
;
#if SYNCLINK_GENERIC_HDLC
struct
net_device
*
netdev
;
...
...
@@ -3385,7 +3381,6 @@ static void add_device(struct slgt_info *info)
if
(
info
->
line
<
MAX_DEVICES
)
{
if
(
maxframe
[
info
->
line
])
info
->
max_frame_size
=
maxframe
[
info
->
line
];
info
->
dosyncppp
=
dosyncppp
[
info
->
line
];
}
slgt_device_count
++
;
...
...
drivers/char/synclinkmp.c
浏览文件 @
86f584f0
...
...
@@ -270,7 +270,6 @@ typedef struct _synclinkmp_info {
/* SPPP/Cisco HDLC device parts */
int
netcount
;
int
dosyncppp
;
spinlock_t
netlock
;
#if SYNCLINK_GENERIC_HDLC
...
...
@@ -469,13 +468,11 @@ static int ttymajor = 0;
*/
static
int
debug_level
=
0
;
static
int
maxframe
[
MAX_DEVICES
]
=
{
0
,};
static
int
dosyncppp
[
MAX_DEVICES
]
=
{
0
,};
module_param
(
break_on_load
,
bool
,
0
);
module_param
(
ttymajor
,
int
,
0
);
module_param
(
debug_level
,
int
,
0
);
module_param_array
(
maxframe
,
int
,
NULL
,
0
);
module_param_array
(
dosyncppp
,
int
,
NULL
,
0
);
static
char
*
driver_name
=
"SyncLink MultiPort driver"
;
static
char
*
driver_version
=
"$Revision: 4.38 $"
;
...
...
@@ -3751,7 +3748,6 @@ static void add_device(SLMP_INFO *info)
if
(
info
->
line
<
MAX_DEVICES
)
{
if
(
maxframe
[
info
->
line
])
info
->
max_frame_size
=
maxframe
[
info
->
line
];
info
->
dosyncppp
=
dosyncppp
[
info
->
line
];
}
synclinkmp_device_count
++
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录