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
8f983d6f
Commit
8f983d6f
authored
Oct 06, 2003
by
Randy Dunlap
Committed by
David S. Miller
Oct 06, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[COSA]: schedule_timeout() sets curr_state, from Alexey Dobriyan <adobriyan@mail.ru>.
parent
52b8eb7f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
drivers/net/wan/cosa.c
drivers/net/wan/cosa.c
+0
-2
No files found.
drivers/net/wan/cosa.c
View file @
8f983d6f
...
@@ -519,7 +519,6 @@ static int cosa_probe(int base, int irq, int dma)
...
@@ -519,7 +519,6 @@ static int cosa_probe(int base, int irq, int dma)
current
->
state
=
TASK_INTERRUPTIBLE
;
current
->
state
=
TASK_INTERRUPTIBLE
;
cosa_putstatus
(
cosa
,
SR_TX_INT_ENA
);
cosa_putstatus
(
cosa
,
SR_TX_INT_ENA
);
schedule_timeout
(
30
);
schedule_timeout
(
30
);
current
->
state
=
TASK_RUNNING
;
irq
=
probe_irq_off
(
irqs
);
irq
=
probe_irq_off
(
irqs
);
/* Disable all IRQs from the card */
/* Disable all IRQs from the card */
cosa_putstatus
(
cosa
,
0
);
cosa_putstatus
(
cosa
,
0
);
...
@@ -1532,7 +1531,6 @@ static int cosa_reset_and_read_id(struct cosa_data *cosa, char *idstring)
...
@@ -1532,7 +1531,6 @@ static int cosa_reset_and_read_id(struct cosa_data *cosa, char *idstring)
#ifdef MODULE
#ifdef MODULE
current
->
state
=
TASK_INTERRUPTIBLE
;
current
->
state
=
TASK_INTERRUPTIBLE
;
schedule_timeout
(
HZ
/
2
);
schedule_timeout
(
HZ
/
2
);
current
->
state
=
TASK_RUNNING
;
#else
#else
udelay
(
5
*
100000
);
udelay
(
5
*
100000
);
#endif
#endif
...
...
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