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
c1b5e933
Commit
c1b5e933
authored
Jun 19, 2003
by
Reeja John
Committed by
Jeff Garzik
Jun 19, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr amd8111e] fix spinlock recursion / if close failure
parent
c5ebe9f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
drivers/net/amd8111e.c
drivers/net/amd8111e.c
+7
-5
No files found.
drivers/net/amd8111e.c
View file @
c1b5e933
...
...
@@ -53,6 +53,8 @@ Revision History:
2. Bug fix: Fixed VLAN support failure.
3. Bug fix: Fixed receive interrupt coalescing bug.
4. Dynamic IPG support is disabled by default.
3.0.3 06/05/2003
1. Bug fix: Fixed failure to close the interface if SMP is enabled.
*/
...
...
@@ -89,9 +91,9 @@ Revision History:
#include "amd8111e.h"
#define MODULE_NAME "amd8111e"
#define MODULE_VERSION "3.0.
2
"
#define MODULE_VERSION "3.0.
3
"
MODULE_AUTHOR
(
"Advanced Micro Devices, Inc."
);
MODULE_DESCRIPTION
(
"AMD8111 based 10/100 Ethernet Controller. Driver Version 3.0.
2
"
);
MODULE_DESCRIPTION
(
"AMD8111 based 10/100 Ethernet Controller. Driver Version 3.0.
3
"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_PARM
(
speed_duplex
,
"1-"
__MODULE_STRING
(
MAX_UNITS
)
"i"
);
MODULE_PARM_DESC
(
speed_duplex
,
"Set device speed and duplex modes, 0: Auto Negotitate, 1: 10Mbps Half Duplex, 2: 10Mbps Full Duplex, 3: 100Mbps Half Duplex, 4: 100Mbps Full Duplex"
);
...
...
@@ -1171,11 +1173,11 @@ static int amd8111e_close(struct net_device * dev)
if
(
lp
->
options
&
OPTION_DYN_IPG_ENABLE
)
del_timer_sync
(
&
lp
->
ipg_data
.
ipg_timer
);
/* Update the statistics before closing */
amd8111e_get_stats
(
dev
);
spin_unlock_irq
(
&
lp
->
lock
);
free_irq
(
dev
->
irq
,
dev
);
/* Update the statistics before closing */
amd8111e_get_stats
(
dev
);
lp
->
opened
=
0
;
return
0
;
}
...
...
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