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
8494a8f1
Commit
8494a8f1
authored
Apr 03, 2002
by
Dave Jones
Committed by
Jeff Garzik
Apr 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge a2065 net drvr update from 2.4.x:
* make sure to stop chip before enabling interrupt via request_irq
parent
601cc57e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
drivers/net/a2065.c
drivers/net/a2065.c
+4
-5
No files found.
drivers/net/a2065.c
View file @
8494a8f1
...
...
@@ -51,7 +51,6 @@
#include <linux/crc32.h>
#include <asm/bitops.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <linux/errno.h>
...
...
@@ -496,15 +495,15 @@ static int lance_open (struct net_device *dev)
last_dev
=
dev
;
/* Stop the Lance */
ll
->
rap
=
LE_CSR0
;
ll
->
rdp
=
LE_C0_STOP
;
/* Install the Interrupt handler */
ret
=
request_irq
(
IRQ_AMIGA_PORTS
,
lance_interrupt
,
SA_SHIRQ
,
dev
->
name
,
dev
);
if
(
ret
)
return
ret
;
/* Stop the Lance */
ll
->
rap
=
LE_CSR0
;
ll
->
rdp
=
LE_C0_STOP
;
load_csrs
(
lp
);
lance_init_ring
(
dev
);
...
...
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