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
3eb31917
Commit
3eb31917
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 updates for sealevel wan driver
parent
c6383562
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drivers/net/wan/sealevel.c
drivers/net/wan/sealevel.c
+1
-2
No files found.
drivers/net/wan/sealevel.c
View file @
3eb31917
...
@@ -219,12 +219,11 @@ static struct slvl_board *slvl_init(int iobase, int irq, int txdma, int rxdma, i
...
@@ -219,12 +219,11 @@ static struct slvl_board *slvl_init(int iobase, int irq, int txdma, int rxdma, i
* Get the needed I/O space
* Get the needed I/O space
*/
*/
if
(
check_region
(
iobase
,
8
))
if
(
!
request_region
(
iobase
,
8
,
"Sealevel 4021"
))
{
{
printk
(
KERN_WARNING
"sealevel: I/O 0x%X already in use.
\n
"
,
iobase
);
printk
(
KERN_WARNING
"sealevel: I/O 0x%X already in use.
\n
"
,
iobase
);
return
NULL
;
return
NULL
;
}
}
request_region
(
iobase
,
8
,
"Sealevel 4021"
);
b
=
(
struct
slvl_board
*
)
kmalloc
(
sizeof
(
struct
slvl_board
),
GFP_KERNEL
);
b
=
(
struct
slvl_board
*
)
kmalloc
(
sizeof
(
struct
slvl_board
),
GFP_KERNEL
);
if
(
!
b
)
if
(
!
b
)
...
...
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