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
7aba06f0
Commit
7aba06f0
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] fix hostess driver for 2.5
parent
06e85681
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
drivers/net/wan/hostess_sv11.c
drivers/net/wan/hostess_sv11.c
+9
-7
No files found.
drivers/net/wan/hostess_sv11.c
View file @
7aba06f0
...
...
@@ -284,9 +284,11 @@ static struct sv11_device *sv11_init(int iobase, int irq)
goto
dmafail
;
}
}
save_flags
(
flags
);
cli
();
/* Kill our private IRQ line the hostess can end up chattering
until the configuration is set */
disable_irq
(
irq
);
/*
* Begin normal initialise
*/
...
...
@@ -294,7 +296,7 @@ static struct sv11_device *sv11_init(int iobase, int irq)
if
(
z8530_init
(
dev
)
!=
0
)
{
printk
(
KERN_ERR
"Z8530 series device not found.
\n
"
);
restore_flags
(
flags
);
enable_irq
(
irq
);
goto
dmafail2
;
}
z8530_channel_load
(
&
dev
->
chanB
,
z8530_dead_port
);
...
...
@@ -303,8 +305,8 @@ static struct sv11_device *sv11_init(int iobase, int irq)
else
z8530_channel_load
(
&
dev
->
chanA
,
z8530_hdlc_kilostream_85230
);
restore_flags
(
flags
);
enable_irq
(
irq
);
/*
* Now we can take the IRQ
...
...
@@ -399,7 +401,7 @@ static struct sv11_device *sv11_unit;
int
init_module
(
void
)
{
printk
(
KERN_INFO
"SV-11 Z85230 Synchronous Driver v 0.0
2
.
\n
"
);
printk
(
KERN_INFO
"SV-11 Z85230 Synchronous Driver v 0.0
3
.
\n
"
);
printk
(
KERN_INFO
"(c) Copyright 2001, Red Hat Inc.
\n
"
);
if
((
sv11_unit
=
sv11_init
(
io
,
irq
))
==
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