aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/mv64x60.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/mv64x60.h')
-rw-r--r--include/asm-ppc/mv64x60.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-ppc/mv64x60.h b/include/asm-ppc/mv64x60.h
index 75c2ffa26b26..4f2405b83612 100644
--- a/include/asm-ppc/mv64x60.h
+++ b/include/asm-ppc/mv64x60.h
@@ -27,6 +27,8 @@
27#include <asm/pci-bridge.h> 27#include <asm/pci-bridge.h>
28#include <asm/mv64x60_defs.h> 28#include <asm/mv64x60_defs.h>
29 29
30struct platform_device;
31
30extern u8 mv64x60_pci_exclude_bridge; 32extern u8 mv64x60_pci_exclude_bridge;
31 33
32extern spinlock_t mv64x60_lock; 34extern spinlock_t mv64x60_lock;
@@ -233,7 +235,7 @@ struct mv64x60_chip_info {
233struct mv64x60_handle { 235struct mv64x60_handle {
234 u32 type; /* type of bridge */ 236 u32 type; /* type of bridge */
235 u32 rev; /* revision of bridge */ 237 u32 rev; /* revision of bridge */
236 void *v_base; /* virtual base addr of bridge regs */ 238 void __iomem *v_base;/* virtual base addr of bridge regs */
237 phys_addr_t p_base; /* physical base addr of bridge regs */ 239 phys_addr_t p_base; /* physical base addr of bridge regs */
238 240
239 u32 pci_mode_a; /* pci 0 mode: conventional pci, pci-x*/ 241 u32 pci_mode_a; /* pci 0 mode: conventional pci, pci-x*/
@@ -303,7 +305,7 @@ void mv64x60_alloc_hose(struct mv64x60_handle *bh, u32 cfg_addr,
303 u32 cfg_data, struct pci_controller **hose); 305 u32 cfg_data, struct pci_controller **hose);
304int mv64x60_get_type(struct mv64x60_handle *bh); 306int mv64x60_get_type(struct mv64x60_handle *bh);
305int mv64x60_setup_for_chip(struct mv64x60_handle *bh); 307int mv64x60_setup_for_chip(struct mv64x60_handle *bh);
306void *mv64x60_get_bridge_vbase(void); 308void __iomem *mv64x60_get_bridge_vbase(void);
307u32 mv64x60_get_bridge_type(void); 309u32 mv64x60_get_bridge_type(void);
308u32 mv64x60_get_bridge_rev(void); 310u32 mv64x60_get_bridge_rev(void);
309void mv64x60_get_mem_windows(struct mv64x60_handle *bh, 311void mv64x60_get_mem_windows(struct mv64x60_handle *bh,