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
Kirill Smelkov
linux
Commits
de69a1ad
Commit
de69a1ad
authored
Jul 11, 2003
by
Alan Cox
Committed by
Steve French
Jul 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix further timer in pcmcia stuff
#ra1
parent
57af3ff0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
drivers/net/pcmcia/pcnet_cs.c
drivers/net/pcmcia/pcnet_cs.c
+2
-2
drivers/net/pcmcia/smc91c92_cs.c
drivers/net/pcmcia/smc91c92_cs.c
+2
-2
drivers/net/pcmcia/xirc2ps_cs.c
drivers/net/pcmcia/xirc2ps_cs.c
+1
-1
No files found.
drivers/net/pcmcia/pcnet_cs.c
View file @
de69a1ad
...
@@ -357,7 +357,7 @@ static void pcnet_detach(dev_link_t *link)
...
@@ -357,7 +357,7 @@ static void pcnet_detach(dev_link_t *link)
if
(
*
linkp
==
NULL
)
if
(
*
linkp
==
NULL
)
return
;
return
;
del_timer
(
&
link
->
release
);
del_timer
_sync
(
&
link
->
release
);
if
(
link
->
state
&
DEV_CONFIG
)
{
if
(
link
->
state
&
DEV_CONFIG
)
{
pcnet_release
((
u_long
)
link
);
pcnet_release
((
u_long
)
link
);
if
(
link
->
state
&
DEV_STALE_CONFIG
)
{
if
(
link
->
state
&
DEV_STALE_CONFIG
)
{
...
@@ -1052,7 +1052,7 @@ static int pcnet_close(struct net_device *dev)
...
@@ -1052,7 +1052,7 @@ static int pcnet_close(struct net_device *dev)
link
->
open
--
;
link
->
open
--
;
netif_stop_queue
(
dev
);
netif_stop_queue
(
dev
);
del_timer
(
&
info
->
watchdog
);
del_timer
_sync
(
&
info
->
watchdog
);
if
(
link
->
state
&
DEV_STALE_CONFIG
)
if
(
link
->
state
&
DEV_STALE_CONFIG
)
mod_timer
(
&
link
->
release
,
jiffies
+
HZ
/
20
);
mod_timer
(
&
link
->
release
,
jiffies
+
HZ
/
20
);
...
...
drivers/net/pcmcia/smc91c92_cs.c
View file @
de69a1ad
...
@@ -433,7 +433,7 @@ static void smc91c92_detach(dev_link_t *link)
...
@@ -433,7 +433,7 @@ static void smc91c92_detach(dev_link_t *link)
if
(
*
linkp
==
NULL
)
if
(
*
linkp
==
NULL
)
return
;
return
;
del_timer
(
&
link
->
release
);
del_timer
_sync
(
&
link
->
release
);
if
(
link
->
state
&
DEV_CONFIG
)
{
if
(
link
->
state
&
DEV_CONFIG
)
{
smc91c92_release
((
u_long
)
link
);
smc91c92_release
((
u_long
)
link
);
if
(
link
->
state
&
DEV_STALE_CONFIG
)
{
if
(
link
->
state
&
DEV_STALE_CONFIG
)
{
...
@@ -1330,7 +1330,7 @@ static int smc_close(struct net_device *dev)
...
@@ -1330,7 +1330,7 @@ static int smc_close(struct net_device *dev)
outw
(
CTL_POWERDOWN
,
ioaddr
+
CONTROL
);
outw
(
CTL_POWERDOWN
,
ioaddr
+
CONTROL
);
link
->
open
--
;
link
->
open
--
;
del_timer
(
&
smc
->
media
);
del_timer
_sync
(
&
smc
->
media
);
if
(
link
->
state
&
DEV_STALE_CONFIG
)
if
(
link
->
state
&
DEV_STALE_CONFIG
)
mod_timer
(
&
link
->
release
,
jiffies
+
HZ
/
20
);
mod_timer
(
&
link
->
release
,
jiffies
+
HZ
/
20
);
...
...
drivers/net/pcmcia/xirc2ps_cs.c
View file @
de69a1ad
...
@@ -689,7 +689,7 @@ xirc2ps_detach(dev_link_t * link)
...
@@ -689,7 +689,7 @@ xirc2ps_detach(dev_link_t * link)
* the release() function is called, that will trigger a proper
* the release() function is called, that will trigger a proper
* detach().
* detach().
*/
*/
del_timer
(
&
link
->
release
);
del_timer
_sync
(
&
link
->
release
);
if
(
link
->
state
&
DEV_CONFIG
)
{
if
(
link
->
state
&
DEV_CONFIG
)
{
xirc2ps_release
((
unsigned
long
)
link
);
xirc2ps_release
((
unsigned
long
)
link
);
if
(
link
->
state
&
DEV_STALE_CONFIG
)
{
if
(
link
->
state
&
DEV_STALE_CONFIG
)
{
...
...
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