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
nexedi
linux
Commits
64d6671f
Commit
64d6671f
authored
Jul 10, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr wavelan] remove check_region usage
parent
1afaa712
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/net/wireless/wavelan.c
drivers/net/wireless/wavelan.c
+4
-2
No files found.
drivers/net/wireless/wavelan.c
View file @
64d6671f
...
@@ -3730,8 +3730,8 @@ static int wv_check_ioaddr(unsigned long ioaddr, u8 * mac)
...
@@ -3730,8 +3730,8 @@ static int wv_check_ioaddr(unsigned long ioaddr, u8 * mac)
int
i
;
/* Loop counter */
int
i
;
/* Loop counter */
/* Check if the base address if available. */
/* Check if the base address if available. */
if
(
check_region
(
ioaddr
,
sizeof
(
ha_t
)
))
if
(
!
request_region
(
ioaddr
,
sizeof
(
ha_t
),
"wavelan probe"
))
return
-
E
ADDRINUSE
;
/* ioaddr already used */
return
-
E
BUSY
;
/* ioaddr already used */
/* Reset host interface */
/* Reset host interface */
wv_hacr_reset
(
ioaddr
);
wv_hacr_reset
(
ioaddr
);
...
@@ -3740,6 +3740,8 @@ static int wv_check_ioaddr(unsigned long ioaddr, u8 * mac)
...
@@ -3740,6 +3740,8 @@ static int wv_check_ioaddr(unsigned long ioaddr, u8 * mac)
psa_read
(
ioaddr
,
HACR_DEFAULT
,
psaoff
(
0
,
psa_univ_mac_addr
),
psa_read
(
ioaddr
,
HACR_DEFAULT
,
psaoff
(
0
,
psa_univ_mac_addr
),
mac
,
6
);
mac
,
6
);
release_region
(
ioaddr
,
sizeof
(
ha_t
));
/*
/*
* Check the first three octets of the address for the manufacturer's code.
* Check the first three octets of the address for the manufacturer's code.
* Note: if this can't find your WaveLAN card, you've got a
* Note: if this can't find your WaveLAN card, you've got a
...
...
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