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
6b70b7d4
Commit
6b70b7d4
authored
Apr 30, 2002
by
William Stinson
Committed by
Jeff Garzik
Apr 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
request_region janitor update for sdla wan driver
parent
b504b0e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/net/wan/sdla.c
drivers/net/wan/sdla.c
+4
-2
No files found.
drivers/net/wan/sdla.c
View file @
6b70b7d4
...
...
@@ -1348,8 +1348,10 @@ int sdla_set_config(struct net_device *dev, struct ifmap *map)
return
(
-
EINVAL
);
dev
->
base_addr
=
map
->
base_addr
;
request_region
(
dev
->
base_addr
,
SDLA_IO_EXTENTS
,
dev
->
name
);
if
(
!
request_region
(
dev
->
base_addr
,
SDLA_IO_EXTENTS
,
dev
->
name
)){
printk
(
KERN_WARNING
"SDLA: io-port 0x%04lx in use
\n
"
,
dev
->
base_addr
);
return
(
-
EINVAL
);
}
/* test for card types, S502A, S502E, S507, S508 */
/* these tests shut down the card completely, so clear the state */
flp
->
type
=
SDLA_UNKNOWN
;
...
...
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