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
7c79fb20
Commit
7c79fb20
authored
Jul 17, 2003
by
Alan Cox
Committed by
Linus Torvalds
Jul 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] make isapnp request its port properly
parent
4d33d4eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
drivers/pnp/isapnp/core.c
drivers/pnp/isapnp/core.c
+9
-1
No files found.
drivers/pnp/isapnp/core.c
View file @
7c79fb20
...
...
@@ -255,14 +255,22 @@ static void __init isapnp_peek(unsigned char *data, int bytes)
static
int
isapnp_next_rdp
(
void
)
{
int
rdp
=
isapnp_rdp
;
static
int
old_rdp
=
0
;
if
(
old_rdp
)
{
release_region
(
old_rdp
,
1
);
old_rdp
=
0
;
}
while
(
rdp
<=
0x3ff
)
{
/*
* We cannot use NE2000 probe spaces for ISAPnP or we
* will lock up machines.
*/
if
((
rdp
<
0x280
||
rdp
>
0x380
)
&&
!
check_region
(
rdp
,
1
))
if
((
rdp
<
0x280
||
rdp
>
0x380
)
&&
request_region
(
rdp
,
1
,
"ISAPnP"
))
{
isapnp_rdp
=
rdp
;
old_rdp
=
rdp
;
return
0
;
}
rdp
+=
RDP_STEP
;
...
...
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