diff options
Diffstat (limited to 'arch/sparc64/kernel/pci_impl.h')
-rw-r--r-- | arch/sparc64/kernel/pci_impl.h | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/arch/sparc64/kernel/pci_impl.h b/arch/sparc64/kernel/pci_impl.h index 971e2bea30b4..1208583fcb83 100644 --- a/arch/sparc64/kernel/pci_impl.h +++ b/arch/sparc64/kernel/pci_impl.h | |||
@@ -1,7 +1,6 @@ | |||
1 | /* $Id: pci_impl.h,v 1.9 2001/06/13 06:34:30 davem Exp $ | 1 | /* pci_impl.h: Helper definitions for PCI controller support. |
2 | * pci_impl.h: Helper definitions for PCI controller support. | ||
3 | * | 2 | * |
4 | * Copyright (C) 1999 David S. Miller (davem@redhat.com) | 3 | * Copyright (C) 1999, 2007 David S. Miller (davem@davemloft.net) |
5 | */ | 4 | */ |
6 | 5 | ||
7 | #ifndef PCI_IMPL_H | 6 | #ifndef PCI_IMPL_H |
@@ -13,26 +12,22 @@ | |||
13 | #include <asm/prom.h> | 12 | #include <asm/prom.h> |
14 | 13 | ||
15 | extern struct pci_controller_info *pci_controller_root; | 14 | extern struct pci_controller_info *pci_controller_root; |
15 | extern unsigned long pci_memspace_mask; | ||
16 | 16 | ||
17 | extern int pci_num_controllers; | 17 | extern int pci_num_controllers; |
18 | 18 | ||
19 | /* PCI bus scanning and fixup support. */ | 19 | /* PCI bus scanning and fixup support. */ |
20 | extern void pci_fixup_host_bridge_self(struct pci_bus *pbus); | 20 | extern struct pci_bus *pci_scan_one_pbm(struct pci_pbm_info *pbm); |
21 | extern void pci_fill_in_pbm_cookies(struct pci_bus *pbus, | 21 | extern void pci_determine_mem_io_space(struct pci_pbm_info *pbm); |
22 | struct pci_pbm_info *pbm, | 22 | |
23 | struct device_node *prom_node); | 23 | extern int pci_host_bridge_read_pci_cfg(struct pci_bus *bus_dev, |
24 | extern void pci_record_assignments(struct pci_pbm_info *pbm, | 24 | unsigned int devfn, |
25 | struct pci_bus *pbus); | 25 | int where, int size, |
26 | extern void pci_assign_unassigned(struct pci_pbm_info *pbm, | 26 | u32 *value); |
27 | struct pci_bus *pbus); | 27 | extern int pci_host_bridge_write_pci_cfg(struct pci_bus *bus_dev, |
28 | extern void pci_fixup_irq(struct pci_pbm_info *pbm, | 28 | unsigned int devfn, |
29 | struct pci_bus *pbus); | 29 | int where, int size, |
30 | extern void pci_determine_66mhz_disposition(struct pci_pbm_info *pbm, | 30 | u32 value); |
31 | struct pci_bus *pbus); | ||
32 | extern void pci_setup_busmastering(struct pci_pbm_info *pbm, | ||
33 | struct pci_bus *pbus); | ||
34 | extern void pci_register_legacy_regions(struct resource *io_res, | ||
35 | struct resource *mem_res); | ||
36 | 31 | ||
37 | /* Error reporting support. */ | 32 | /* Error reporting support. */ |
38 | 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 *); |