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
b861487b
Commit
b861487b
authored
Nov 25, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] request_region fix in madgemc.c
parent
989c3239
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
drivers/net/tokenring/madgemc.c
drivers/net/tokenring/madgemc.c
+1
-5
No files found.
drivers/net/tokenring/madgemc.c
View file @
b861487b
...
@@ -226,16 +226,12 @@ int __init madgemc_probe(void)
...
@@ -226,16 +226,12 @@ int __init madgemc_probe(void)
goto
getout
;
goto
getout
;
}
}
request_region
(
dev
->
base_addr
,
MADGEMC_IO_EXTENT
,
"madgemc"
);
if
(
!
request_region
(
dev
->
base_addr
,
MADGEMC_IO_EXTENT
,
#if 0
/* why is this not working? */
if (request_region(dev->base_addr, MADGEMC_IO_EXTENT,
"madgemc"
))
{
"madgemc"
))
{
printk
(
KERN_INFO
"madgemc: unable to setup Smart MC in slot %d because of I/O base conflict at 0x%04lx
\n
"
,
slot
,
dev
->
base_addr
);
printk
(
KERN_INFO
"madgemc: unable to setup Smart MC in slot %d because of I/O base conflict at 0x%04lx
\n
"
,
slot
,
dev
->
base_addr
);
dev
->
base_addr
+=
MADGEMC_SIF_OFFSET
;
dev
->
base_addr
+=
MADGEMC_SIF_OFFSET
;
goto
getout
;
goto
getout
;
}
}
#endif
dev
->
base_addr
+=
MADGEMC_SIF_OFFSET
;
dev
->
base_addr
+=
MADGEMC_SIF_OFFSET
;
/*
/*
...
...
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