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
f3d60717
Commit
f3d60717
authored
Oct 04, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IRDA]: ma600 dongle module conversion.
parent
938c1f79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
drivers/net/irda/ma600.c
drivers/net/irda/ma600.c
+6
-10
No files found.
drivers/net/irda/ma600.c
View file @
f3d60717
...
...
@@ -74,12 +74,12 @@ static int ma600_reset(struct irda_task *task);
#define MA600_2400 0x08
static
struct
dongle_reg
dongle
=
{
Q_NULL
,
IRDA_MA600_DONGLE
,
ma600_open
,
ma600_close
,
ma600_reset
,
ma600_change_speed
,
.
type
=
IRDA_MA600_DONGLE
,
.
open
=
ma600_open
,
.
close
=
ma600_close
,
.
reset
=
ma600_reset
,
.
change_speed
=
ma600_change_speed
,
.
owner
=
THIS_MODULE
,
};
int
__init
ma600_init
(
void
)
...
...
@@ -115,8 +115,6 @@ static void ma600_open(dongle_t *self, struct qos_info *qos)
self
->
set_dtr_rts
(
self
->
dev
,
TRUE
,
TRUE
);
// should wait 1 second
MOD_INC_USE_COUNT
;
}
static
void
ma600_close
(
dongle_t
*
self
)
...
...
@@ -125,8 +123,6 @@ static void ma600_close(dongle_t *self)
/* Power off dongle */
self
->
set_dtr_rts
(
self
->
dev
,
FALSE
,
FALSE
);
MOD_DEC_USE_COUNT
;
}
static
__u8
get_control_byte
(
__u32
speed
)
...
...
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