Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
86f584f0
Commit
86f584f0
authored
Jul 01, 2008
by
Krzysztof Hałasa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove bogus dosyncppp variable from synclink drivers.
Signed-off-by:
Krzysztof Hałasa
<
khc@pm.waw.pl
>
parent
4dfce407
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
17 deletions
+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
No files found.
drivers/char/pcmcia/synclink_cs.c
View file @
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
View file @
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
View file @
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
View file @
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
++
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment