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
89c81f58
Commit
89c81f58
authored
Jun 03, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI: remove usage of pci_for_each_dev() in drivers/ide/pci/pdc202xx_new.c
parent
450f2757
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/ide/pci/pdc202xx_new.c
drivers/ide/pci/pdc202xx_new.c
+2
-2
No files found.
drivers/ide/pci/pdc202xx_new.c
View file @
89c81f58
...
...
@@ -579,7 +579,7 @@ static void __init init_setup_pdcnew (struct pci_dev *dev, ide_pci_device_t *d)
static
void
__init
init_setup_pdc20270
(
struct
pci_dev
*
dev
,
ide_pci_device_t
*
d
)
{
struct
pci_dev
*
findev
;
struct
pci_dev
*
findev
=
NULL
;
if
((
dev
->
bus
->
self
&&
dev
->
bus
->
self
->
vendor
==
PCI_VENDOR_ID_DEC
)
&&
...
...
@@ -588,7 +588,7 @@ static void __init init_setup_pdc20270 (struct pci_dev *dev, ide_pci_device_t *d
return
;
}
d
->
extra
=
0
;
pci_for_each_dev
(
findev
)
{
while
((
findev
=
pci_find_device
(
PCI_ANY_ID
,
PCI_ANY_ID
,
findev
))
!=
NULL
)
{
if
((
findev
->
vendor
==
dev
->
vendor
)
&&
(
findev
->
device
==
dev
->
device
)
&&
(
PCI_SLOT
(
findev
->
devfn
)
&
2
))
{
...
...
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