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
39fc8c2d
Commit
39fc8c2d
authored
Oct 04, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IRDA]: Tekram dongle module conversion.
parent
8495a1ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
drivers/net/irda/tekram.c
drivers/net/irda/tekram.c
+6
-10
No files found.
drivers/net/irda/tekram.c
View file @
39fc8c2d
...
...
@@ -44,12 +44,12 @@ static int tekram_reset(struct irda_task *task);
#define TEKRAM_PW 0x10
/* Pulse select bit */
static
struct
dongle_reg
dongle
=
{
Q_NULL
,
IRDA_TEKRAM_DONGLE
,
tekram_open
,
tekram_close
,
tekram_reset
,
tekram_change_speed
,
.
type
=
IRDA_TEKRAM_DONGLE
,
.
open
=
tekram_open
,
.
close
=
tekram_close
,
.
reset
=
tekram_reset
,
.
change_speed
=
tekram_change_speed
,
.
owner
=
THIS_MODULE
,
};
int
__init
tekram_init
(
void
)
...
...
@@ -69,8 +69,6 @@ static void tekram_open(dongle_t *self, struct qos_info *qos)
qos
->
baud_rate
.
bits
&=
IR_9600
|
IR_19200
|
IR_38400
|
IR_57600
|
IR_115200
;
qos
->
min_turn_time
.
bits
=
0x01
;
/* Needs at least 10 ms */
irda_qos_bits_to_value
(
qos
);
MOD_INC_USE_COUNT
;
}
static
void
tekram_close
(
dongle_t
*
self
)
...
...
@@ -84,8 +82,6 @@ static void tekram_close(dongle_t *self)
irda_task_delete
(
self
->
reset_task
);
if
(
self
->
speed_task
)
irda_task_delete
(
self
->
speed_task
);
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