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
8a0c2954
Commit
8a0c2954
authored
Jun 04, 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 arch/ia64/hp/common/sba_iommu.c
parent
401951fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/ia64/hp/common/sba_iommu.c
arch/ia64/hp/common/sba_iommu.c
+2
-2
No files found.
arch/ia64/hp/common/sba_iommu.c
View file @
8a0c2954
...
@@ -1413,7 +1413,7 @@ ioc_iova_init(struct ioc *ioc)
...
@@ -1413,7 +1413,7 @@ ioc_iova_init(struct ioc *ioc)
u32
iova_space_mask
;
u32
iova_space_mask
;
int
iov_order
,
tcnfg
;
int
iov_order
,
tcnfg
;
int
agp_found
=
0
;
int
agp_found
=
0
;
struct
pci_dev
*
device
;
struct
pci_dev
*
device
=
NULL
;
#ifdef FULL_VALID_PDIR
#ifdef FULL_VALID_PDIR
unsigned
long
index
;
unsigned
long
index
;
#endif
#endif
...
@@ -1511,7 +1511,7 @@ ioc_iova_init(struct ioc *ioc)
...
@@ -1511,7 +1511,7 @@ ioc_iova_init(struct ioc *ioc)
** We program the next pdir index after we stop w/ a key for
** We program the next pdir index after we stop w/ a key for
** the GART code to handshake on.
** the GART code to handshake on.
*/
*/
pci_for_each_dev
(
device
)
while
((
device
=
pci_find_device
(
PCI_ANY_ID
,
PCI_ANY_ID
,
device
))
!=
NULL
)
agp_found
|=
pci_find_capability
(
device
,
PCI_CAP_ID_AGP
);
agp_found
|=
pci_find_capability
(
device
,
PCI_CAP_ID_AGP
);
if
(
agp_found
&&
reserve_sba_gart
)
{
if
(
agp_found
&&
reserve_sba_gart
)
{
...
...
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