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
e2d8ded1
Commit
e2d8ded1
authored
Aug 20, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/wan/sbni.c totally misused "pci_request_region()", thinking
it was the same as the old request_region(). Not so.
parent
bfd6334f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/net/wan/sbni.c
drivers/net/wan/sbni.c
+1
-1
No files found.
drivers/net/wan/sbni.c
View file @
e2d8ded1
...
@@ -277,7 +277,7 @@ sbni_pci_probe( struct net_device *dev )
...
@@ -277,7 +277,7 @@ sbni_pci_probe( struct net_device *dev )
pci_irq_line
=
pdev
->
irq
;
pci_irq_line
=
pdev
->
irq
;
/* Avoid already found cards from previous calls */
/* Avoid already found cards from previous calls */
if
(
!
pci_
request_region
(
pci_ioaddr
,
SBNI_IO_EXTENT
,
dev
->
name
)
)
{
if
(
!
request_region
(
pci_ioaddr
,
SBNI_IO_EXTENT
,
dev
->
name
)
)
{
pci_read_config_word
(
pdev
,
PCI_SUBSYSTEM_ID
,
&
subsys
);
pci_read_config_word
(
pdev
,
PCI_SUBSYSTEM_ID
,
&
subsys
);
if
(
subsys
!=
2
||
/* Dual adapter is present */
if
(
subsys
!=
2
||
/* Dual adapter is present */
check_region
(
pci_ioaddr
+=
4
,
SBNI_IO_EXTENT
)
)
check_region
(
pci_ioaddr
+=
4
,
SBNI_IO_EXTENT
)
)
...
...
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