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
f96d1ee4
Commit
f96d1ee4
authored
Sep 25, 2003
by
Rusty Russell
Committed by
Jeff Garzik
Sep 25, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] [PATCH 2.6.0-test1] remove check_region from drivers_net_3c509.c
From: Domen Puncer <root@coderock.org>
parent
0b7fab69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
drivers/net/3c509.c
drivers/net/3c509.c
+5
-4
No files found.
drivers/net/3c509.c
View file @
f96d1ee4
...
...
@@ -382,9 +382,7 @@ static int __init el3_probe(int card_idx)
#if defined(__ISAPNP__) && !defined(CONFIG_X86_PC9800)
static
int
pnp_cards
;
struct
pnp_dev
*
idev
=
NULL
;
#endif
/* __ISAPNP__ */
#if defined(__ISAPNP__) && !defined(CONFIG_X86_PC9800)
if
(
nopnp
==
1
)
goto
no_pnp
;
...
...
@@ -440,12 +438,15 @@ static int __init el3_probe(int card_idx)
#else
/* Select an open I/O location at 0x1*0 to do contention select. */
for
(
;
id_port
<
0x200
;
id_port
+=
0x10
)
{
if
(
check_region
(
id_port
,
1
))
if
(
!
request_region
(
id_port
,
1
,
"3c509"
))
continue
;
outb
(
0x00
,
id_port
);
outb
(
0xff
,
id_port
);
if
(
inb
(
id_port
)
&
0x01
)
if
(
inb
(
id_port
)
&
0x01
){
release_region
(
id_port
,
1
);
break
;
}
else
release_region
(
id_port
,
1
);
}
if
(
id_port
>=
0x200
)
{
/* Rare -- do we really need a warning? */
...
...
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