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
b75e41b8
Commit
b75e41b8
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/message/fusion/mptbase.c
parent
52d3f347
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
drivers/message/fusion/mptbase.c
drivers/message/fusion/mptbase.c
+2
-5
No files found.
drivers/message/fusion/mptbase.c
View file @
b75e41b8
...
...
@@ -1152,7 +1152,7 @@ mpt_adapter_find_next(MPT_ADAPTER *prev)
static
int
__init
mpt_pci_scan
(
void
)
{
struct
pci_dev
*
pdev
;
struct
pci_dev
*
pdev
=
NULL
;
struct
pci_dev
*
pdev2
;
int
found
=
0
;
int
count
=
0
;
...
...
@@ -1164,11 +1164,8 @@ mpt_pci_scan(void)
* NOTE: The 929, 929X, 1030 and 1035 will appear as 2 separate PCI devices,
* one for each channel.
*/
pci_for_each_dev
(
pdev
)
{
while
((
pdev
=
pci_find_device
(
PCI_VENDOR_ID_LSI_LOGIC
,
PCI_ANY_ID
,
pdev
))
!=
NULL
)
{
pdev2
=
NULL
;
if
(
pdev
->
vendor
!=
0x1000
)
continue
;
if
((
pdev
->
device
!=
MPI_MANUFACTPAGE_DEVICEID_FC909
)
&&
(
pdev
->
device
!=
MPI_MANUFACTPAGE_DEVICEID_FC929
)
&&
(
pdev
->
device
!=
MPI_MANUFACTPAGE_DEVICEID_FC919
)
&&
...
...
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