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
5f3529cc
Commit
5f3529cc
authored
Mar 20, 2003
by
Jeb J. Cramer
Committed by
Jeff Garzik
Mar 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[E1000] IRQ registration fix
* Fixed IRQ registration bug; IRQ now registered after resources are acquired
parent
42c675ff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
drivers/net/e1000/e1000_main.c
drivers/net/e1000/e1000_main.c
+9
-4
No files found.
drivers/net/e1000/e1000_main.c
View file @
5f3529cc
...
...
@@ -252,13 +252,10 @@ e1000_up(struct e1000_adapter *adapter)
{
struct
net_device
*
netdev
=
adapter
->
netdev
;
if
(
request_irq
(
netdev
->
irq
,
&
e1000_intr
,
SA_SHIRQ
|
SA_SAMPLE_RANDOM
,
netdev
->
name
,
netdev
))
return
-
1
;
/* hardware has been reset, we need to reload some things */
e1000_set_multi
(
netdev
);
e1000_restore_vlan
(
adapter
);
e1000_configure_tx
(
adapter
);
...
...
@@ -266,6 +263,14 @@ e1000_up(struct e1000_adapter *adapter)
e1000_configure_rx
(
adapter
);
e1000_alloc_rx_buffers
(
adapter
);
if
(
request_irq
(
netdev
->
irq
,
&
e1000_intr
,
SA_SHIRQ
|
SA_SAMPLE_RANDOM
,
netdev
->
name
,
netdev
))
{
e1000_reset_hw
(
&
adapter
->
hw
);
e1000_free_tx_resources
(
adapter
);
e1000_free_rx_resources
(
adapter
);
return
-
1
;
}
mod_timer
(
&
adapter
->
watchdog_timer
,
jiffies
);
e1000_irq_enable
(
adapter
);
...
...
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