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
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
Show 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,8 +281,8 @@ static unsigned int __init init_chipset_cs5530 (struct pci_dev *dev, const char
...
@@ -281,8 +281,8 @@ static unsigned int __init init_chipset_cs5530 (struct pci_dev *dev, const char
}
}
#endif
/* DISPLAY_CS5530_TIMINGS && CONFIG_PROC_FS */
#endif
/* DISPLAY_CS5530_TIMINGS && CONFIG_PROC_FS */
pci_for_each_dev
(
dev
)
{
dev
=
NULL
;
if
(
dev
->
vendor
==
PCI_VENDOR_ID_CYRIX
)
{
while
((
dev
=
pci_find_device
(
PCI_VENDOR_ID_CYRIX
,
PCI_ANY_ID
,
dev
))
!=
NULL
)
{
switch
(
dev
->
device
)
{
switch
(
dev
->
device
)
{
case
PCI_DEVICE_ID_CYRIX_PCI_MASTER
:
case
PCI_DEVICE_ID_CYRIX_PCI_MASTER
:
master_0
=
dev
;
master_0
=
dev
;
...
@@ -292,7 +292,6 @@ static unsigned int __init init_chipset_cs5530 (struct pci_dev *dev, const char
...
@@ -292,7 +292,6 @@ static unsigned int __init init_chipset_cs5530 (struct pci_dev *dev, const char
break
;
break
;
}
}
}
}
}
if
(
!
master_0
)
{
if
(
!
master_0
)
{
printk
(
KERN_ERR
"%s: unable to locate PCI MASTER function
\n
"
,
name
);
printk
(
KERN_ERR
"%s: unable to locate PCI MASTER function
\n
"
,
name
);
return
0
;
return
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