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
f9bbcb6f
Commit
f9bbcb6f
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/cs5530.c
parent
24c0d224
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
drivers/ide/pci/cs5530.c
drivers/ide/pci/cs5530.c
+9
-10
No files found.
drivers/ide/pci/cs5530.c
View file @
f9bbcb6f
...
...
@@ -281,16 +281,15 @@ static unsigned int __init init_chipset_cs5530 (struct pci_dev *dev, const char
}
#endif
/* DISPLAY_CS5530_TIMINGS && CONFIG_PROC_FS */
pci_for_each_dev
(
dev
)
{
if
(
dev
->
vendor
==
PCI_VENDOR_ID_CYRIX
)
{
switch
(
dev
->
device
)
{
case
PCI_DEVICE_ID_CYRIX_PCI_MASTER
:
master_0
=
dev
;
break
;
case
PCI_DEVICE_ID_CYRIX_5530_LEGACY
:
cs5530_0
=
dev
;
break
;
}
dev
=
NULL
;
while
((
dev
=
pci_find_device
(
PCI_VENDOR_ID_CYRIX
,
PCI_ANY_ID
,
dev
))
!=
NULL
)
{
switch
(
dev
->
device
)
{
case
PCI_DEVICE_ID_CYRIX_PCI_MASTER
:
master_0
=
dev
;
break
;
case
PCI_DEVICE_ID_CYRIX_5530_LEGACY
:
cs5530_0
=
dev
;
break
;
}
}
if
(
!
master_0
)
{
...
...
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