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
97c76453
Commit
97c76453
authored
Jun 03, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] IBM PCI hotplug: remove direct access of pci_devices variable.
parent
d632a587
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
drivers/hotplug/ibmphp_core.c
drivers/hotplug/ibmphp_core.c
+5
-8
No files found.
drivers/hotplug/ibmphp_core.c
View file @
97c76453
...
...
@@ -897,7 +897,6 @@ static int set_bus (struct slot * slot_cur)
int
rc
;
u8
speed
;
u8
cmd
=
0x0
;
const
struct
list_head
*
tmp
;
struct
pci_dev
*
dev
;
int
retval
;
...
...
@@ -945,14 +944,12 @@ static int set_bus (struct slot * slot_cur)
cmd
=
HPC_BUS_100PCIXMODE
;
break
;
case
BUS_SPEED_133
:
/* This is to take care of the bug in CIOBX chip*/
list_for_each
(
tmp
,
&
pci_devices
)
{
dev
=
(
struct
pci_dev
*
)
pci_dev_g
(
tmp
);
if
(
dev
)
{
if
((
dev
->
vendor
==
0x1166
)
&&
(
dev
->
device
==
0x0101
))
/* This is to take care of the bug in CIOBX chip */
pci_for_each_dev
(
dev
)
{
if
((
dev
->
vendor
==
PCI_VENDOR_ID_SERVERWORKS
)
&&
(
dev
->
device
==
0x0101
))
ibmphp_hpc_writeslot
(
slot_cur
,
HPC_BUS_100PCIXMODE
);
}
}
cmd
=
HPC_BUS_133PCIXMODE
;
break
;
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