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
9cdb63b7
Commit
9cdb63b7
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/pci/hotplug/ibmphp_core.c
parent
5b0b7250
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
drivers/pci/hotplug/ibmphp_core.c
drivers/pci/hotplug/ibmphp_core.c
+4
-6
No files found.
drivers/pci/hotplug/ibmphp_core.c
View file @
9cdb63b7
...
@@ -898,7 +898,7 @@ static int set_bus (struct slot * slot_cur)
...
@@ -898,7 +898,7 @@ static int set_bus (struct slot * slot_cur)
int
rc
;
int
rc
;
u8
speed
;
u8
speed
;
u8
cmd
=
0x0
;
u8
cmd
=
0x0
;
struct
pci_dev
*
dev
;
struct
pci_dev
*
dev
=
NULL
;
int
retval
;
int
retval
;
debug
(
"%s - entry slot # %d
\n
"
,
__FUNCTION__
,
slot_cur
->
number
);
debug
(
"%s - entry slot # %d
\n
"
,
__FUNCTION__
,
slot_cur
->
number
);
...
@@ -946,11 +946,9 @@ static int set_bus (struct slot * slot_cur)
...
@@ -946,11 +946,9 @@ static int set_bus (struct slot * slot_cur)
break
;
break
;
case
BUS_SPEED_133
:
case
BUS_SPEED_133
:
/* This is to take care of the bug in CIOBX chip */
/* This is to take care of the bug in CIOBX chip */
pci_for_each_dev
(
dev
)
{
while
((
dev
=
pci_find_device
(
PCI_VENDOR_ID_SERVERWORKS
,
if
((
dev
->
vendor
==
PCI_VENDOR_ID_SERVERWORKS
)
&&
0x0101
,
dev
))
!=
NULL
)
(
dev
->
device
==
0x0101
))
ibmphp_hpc_writeslot
(
slot_cur
,
HPC_BUS_100PCIXMODE
);
ibmphp_hpc_writeslot
(
slot_cur
,
HPC_BUS_100PCIXMODE
);
}
cmd
=
HPC_BUS_133PCIXMODE
;
cmd
=
HPC_BUS_133PCIXMODE
;
break
;
break
;
default:
default:
...
...
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