Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KED Linux Kernel Fork
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KED Software Projects
Miscellaneous
KED Linux Kernel Fork
Commits
870d3d98
Commit
870d3d98
authored
19 years ago
by
Ralf Baechle
Browse files
Options
Downloads
Patches
Plain Diff
Reorder & reformat a bit.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
61ed242d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/asm-mips/pci.h
+16
-15
16 additions, 15 deletions
include/asm-mips/pci.h
with
16 additions
and
15 deletions
include/asm-mips/pci.h
+
16
−
15
View file @
870d3d98
...
@@ -142,8 +142,22 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev,
...
@@ -142,8 +142,22 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev,
extern
void
pcibios_resource_to_bus
(
struct
pci_dev
*
dev
,
extern
void
pcibios_resource_to_bus
(
struct
pci_dev
*
dev
,
struct
pci_bus_region
*
region
,
struct
resource
*
res
);
struct
pci_bus_region
*
region
,
struct
resource
*
res
);
extern
void
pcibios_bus_to_resource
(
struct
pci_dev
*
dev
,
struct
resource
*
res
,
struct
pci_bus_region
*
region
);
extern
void
pcibios_bus_to_resource
(
struct
pci_dev
*
dev
,
struct
resource
*
res
,
struct
pci_bus_region
*
region
);
static
inline
struct
resource
*
pcibios_select_root
(
struct
pci_dev
*
pdev
,
struct
resource
*
res
)
{
struct
resource
*
root
=
NULL
;
if
(
res
->
flags
&
IORESOURCE_IO
)
root
=
&
ioport_resource
;
if
(
res
->
flags
&
IORESOURCE_MEM
)
root
=
&
iomem_resource
;
return
root
;
}
#ifdef CONFIG_PCI_DOMAINS
#ifdef CONFIG_PCI_DOMAINS
...
@@ -169,17 +183,4 @@ static inline void pcibios_add_platform_entries(struct pci_dev *dev)
...
@@ -169,17 +183,4 @@ static inline void pcibios_add_platform_entries(struct pci_dev *dev)
/* Do platform specific device initialization at pci_enable_device() time */
/* Do platform specific device initialization at pci_enable_device() time */
extern
int
pcibios_plat_dev_init
(
struct
pci_dev
*
dev
);
extern
int
pcibios_plat_dev_init
(
struct
pci_dev
*
dev
);
static
inline
struct
resource
*
pcibios_select_root
(
struct
pci_dev
*
pdev
,
struct
resource
*
res
)
{
struct
resource
*
root
=
NULL
;
if
(
res
->
flags
&
IORESOURCE_IO
)
root
=
&
ioport_resource
;
if
(
res
->
flags
&
IORESOURCE_MEM
)
root
=
&
iomem_resource
;
return
root
;
}
#endif
/* _ASM_PCI_H */
#endif
/* _ASM_PCI_H */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment