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
cea82a91
Commit
cea82a91
authored
Nov 25, 2002
by
Alan Cox
Committed by
Linus Torvalds
Nov 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] update sealevel isa sync card to 2.5.x
parent
edf0043d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
drivers/net/wan/sealevel.c
drivers/net/wan/sealevel.c
+5
-6
No files found.
drivers/net/wan/sealevel.c
View file @
cea82a91
...
...
@@ -302,8 +302,7 @@ static struct slvl_board *slvl_init(int iobase, int irq, int txdma, int rxdma, i
if
(
request_dma
(
dev
->
chanA
.
rxdma
,
"SeaLevel (RX)"
)
!=
0
)
goto
dmafail
;
save_flags
(
flags
);
cli
();
disable_irq
(
irq
);
/*
* Begin normal initialise
...
...
@@ -312,7 +311,7 @@ static struct slvl_board *slvl_init(int iobase, int irq, int txdma, int rxdma, i
if
(
z8530_init
(
dev
)
!=
0
)
{
printk
(
KERN_ERR
"Z8530 series device not found.
\n
"
);
restore_flags
(
flags
);
enable_irq
(
irq
);
goto
dmafail2
;
}
if
(
dev
->
type
==
Z85C30
)
...
...
@@ -330,7 +329,7 @@ static struct slvl_board *slvl_init(int iobase, int irq, int txdma, int rxdma, i
* Now we can take the IRQ
*/
restore_flags
(
flags
);
enable_irq
(
irq
);
for
(
u
=
0
;
u
<
2
;
u
++
)
{
...
...
@@ -446,7 +445,7 @@ static struct slvl_board *slvl_unit;
int
init_module
(
void
)
{
printk
(
KERN_INFO
"SeaLevel Z85230 Synchronous Driver v 0.0
1
.
\n
"
);
printk
(
KERN_INFO
"SeaLevel Z85230 Synchronous Driver v 0.0
2
.
\n
"
);
printk
(
KERN_INFO
"(c) Copyright 1998, Building Number Three Ltd.
\n
"
);
if
((
slvl_unit
=
slvl_init
(
io
,
irq
,
txdma
,
rxdma
,
slow
))
==
NULL
)
return
-
ENODEV
;
...
...
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