Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
e31f7296
Commit
e31f7296
authored
Oct 04, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IRDA]: esi dongle module conversion.
parent
c0accffe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
drivers/net/irda/esi.c
drivers/net/irda/esi.c
+6
-10
No files found.
drivers/net/irda/esi.c
View file @
e31f7296
...
...
@@ -44,12 +44,12 @@ static int esi_change_speed(struct irda_task *task);
static
int
esi_reset
(
struct
irda_task
*
task
);
static
struct
dongle_reg
dongle
=
{
Q_NULL
,
IRDA_ESI_DONGLE
,
esi_open
,
esi_close
,
esi_reset
,
esi_change_speed
,
.
type
=
IRDA_ESI_DONGLE
,
.
open
=
esi_open
,
.
close
=
esi_close
,
.
reset
=
esi_reset
,
.
change_speed
=
esi_change_speed
,
.
owner
=
THIS_MODULE
,
};
int
__init
esi_init
(
void
)
...
...
@@ -66,16 +66,12 @@ static void esi_open(dongle_t *self, struct qos_info *qos)
{
qos
->
baud_rate
.
bits
&=
IR_9600
|
IR_19200
|
IR_115200
;
qos
->
min_turn_time
.
bits
=
0x01
;
/* Needs at least 10 ms */
MOD_INC_USE_COUNT
;
}
static
void
esi_close
(
dongle_t
*
dongle
)
{
/* Power off dongle */
dongle
->
set_dtr_rts
(
dongle
->
dev
,
FALSE
,
FALSE
);
MOD_DEC_USE_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