diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-03-11 19:42:53 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 04:55:19 -0400 |
commit | 97b3cf050b467dda571943ceadff5452bed04549 (patch) | |
tree | c5dbb828eb40f84d6203cfd5aaa56f12c4548b71 /arch/sparc64/kernel/pci_impl.h | |
parent | c6e87566ea080bbbe926c0e429fed48e6f680d93 (diff) |
[SPARC64]: Add dummy host controller to root of all PCI domains.
We fake up a dummy one in all cases because that is the simplest
thing to do and it happens to be necessary for hypervisor systems.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_impl.h')
-rw-r--r-- | arch/sparc64/kernel/pci_impl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/pci_impl.h b/arch/sparc64/kernel/pci_impl.h index c6714548d823..1208583fcb83 100644 --- a/arch/sparc64/kernel/pci_impl.h +++ b/arch/sparc64/kernel/pci_impl.h | |||
@@ -20,6 +20,15 @@ extern int pci_num_controllers; | |||
20 | extern struct pci_bus *pci_scan_one_pbm(struct pci_pbm_info *pbm); | 20 | extern struct pci_bus *pci_scan_one_pbm(struct pci_pbm_info *pbm); |
21 | extern void pci_determine_mem_io_space(struct pci_pbm_info *pbm); | 21 | extern void pci_determine_mem_io_space(struct pci_pbm_info *pbm); |
22 | 22 | ||
23 | extern int pci_host_bridge_read_pci_cfg(struct pci_bus *bus_dev, | ||
24 | unsigned int devfn, | ||
25 | int where, int size, | ||
26 | u32 *value); | ||
27 | extern int pci_host_bridge_write_pci_cfg(struct pci_bus *bus_dev, | ||
28 | unsigned int devfn, | ||
29 | int where, int size, | ||
30 | u32 value); | ||
31 | |||
23 | /* Error reporting support. */ | 32 | /* Error reporting support. */ |
24 | extern void pci_scan_for_target_abort(struct pci_controller_info *, struct pci_pbm_info *, struct pci_bus *); | 33 | extern void pci_scan_for_target_abort(struct pci_controller_info *, struct pci_pbm_info *, struct pci_bus *); |
25 | extern void pci_scan_for_master_abort(struct pci_controller_info *, struct pci_pbm_info *, struct pci_bus *); | 34 | extern void pci_scan_for_master_abort(struct pci_controller_info *, struct pci_pbm_info *, struct pci_bus *); |