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
811a4386
Commit
811a4386
authored
Aug 17, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[arcnet com20020] check_region removal, ->name removal breakage fix
parent
030fd2d8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/net/arcnet/com20020-pci.c
drivers/net/arcnet/com20020-pci.c
+4
-2
No files found.
drivers/net/arcnet/com20020-pci.c
View file @
811a4386
...
...
@@ -97,7 +97,7 @@ static int __devinit com20020pci_probe(struct pci_dev *pdev, const struct pci_de
dev
->
base_addr
=
ioaddr
;
dev
->
irq
=
pdev
->
irq
;
dev
->
dev_addr
[
0
]
=
node
;
lp
->
card_name
=
pdev
->
dev
.
name
;
lp
->
card_name
=
"PCI COM20020"
;
lp
->
card_flags
=
id
->
driver_data
;
lp
->
backplane
=
backplane
;
lp
->
clockp
=
clockp
&
7
;
...
...
@@ -105,7 +105,7 @@ static int __devinit com20020pci_probe(struct pci_dev *pdev, const struct pci_de
lp
->
timeout
=
timeout
;
lp
->
hw
.
owner
=
THIS_MODULE
;
if
(
check_region
(
ioaddr
,
ARCNET_TOTAL_SIZE
))
{
if
(
!
request_region
(
ioaddr
,
ARCNET_TOTAL_SIZE
,
"com20020-pci"
))
{
BUGMSG
(
D_INIT
,
"IO region %xh-%xh already allocated.
\n
"
,
ioaddr
,
ioaddr
+
ARCNET_TOTAL_SIZE
-
1
);
err
=
-
EBUSY
;
...
...
@@ -122,6 +122,8 @@ static int __devinit com20020pci_probe(struct pci_dev *pdev, const struct pci_de
goto
out_priv
;
}
release_region
(
ioaddr
,
ARCNET_TOTAL_SIZE
);
if
((
err
=
com20020_found
(
dev
,
SA_SHIRQ
))
!=
0
)
goto
out_priv
;
...
...
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