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
b431af20
Commit
b431af20
authored
Jan 05, 2003
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: move some declarations from asm/pci-bridge.h to asm/prom.h
parent
751f6037
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
include/asm-ppc/pci-bridge.h
include/asm-ppc/pci-bridge.h
+0
-9
include/asm-ppc/prom.h
include/asm-ppc/prom.h
+11
-0
No files found.
include/asm-ppc/pci-bridge.h
View file @
b431af20
...
...
@@ -23,15 +23,6 @@ extern struct pci_controller* pcibios_alloc_controller(void);
extern
void
pci_init_resource
(
struct
resource
*
res
,
unsigned
long
start
,
unsigned
long
end
,
int
flags
,
char
*
name
);
/*
* PCI <-> OF matching functions
*/
extern
int
pci_device_from_OF_node
(
struct
device_node
*
node
,
u8
*
bus
,
u8
*
devfn
);
extern
struct
device_node
*
pci_busdev_to_OF_node
(
struct
pci_bus
*
,
int
);
extern
struct
device_node
*
pci_device_to_OF_node
(
struct
pci_dev
*
);
extern
void
pci_create_OF_bus_map
(
void
);
/* Get the PCI host controller for a bus */
extern
struct
pci_controller
*
pci_bus_to_hose
(
int
bus
);
...
...
include/asm-ppc/prom.h
View file @
b431af20
...
...
@@ -91,6 +91,17 @@ extern void print_properties(struct device_node *node);
extern
int
call_rtas
(
const
char
*
service
,
int
nargs
,
int
nret
,
unsigned
long
*
outputs
,
...);
/*
* PCI <-> OF matching functions
*/
struct
pci_bus
;
struct
pci_dev
;
extern
int
pci_device_from_OF_node
(
struct
device_node
*
node
,
u8
*
bus
,
u8
*
devfn
);
extern
struct
device_node
*
pci_busdev_to_OF_node
(
struct
pci_bus
*
,
int
);
extern
struct
device_node
*
pci_device_to_OF_node
(
struct
pci_dev
*
);
extern
void
pci_create_OF_bus_map
(
void
);
/*
* When we call back to the Open Firmware client interface, we usually
* have to do that before the kernel is relocated to its final location
...
...
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