aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/iommu.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2005-12-13 21:10:10 -0500
committerPaul Mackerras <paulus@samba.org>2006-01-08 23:03:17 -0500
commit1beb6a7d6cbed3ac03500ce9b5b9bb632c512039 (patch)
tree727aa76da5a82fca449dadf3cebbadc414ad6555 /include/asm-powerpc/iommu.h
parentcd0c7f06803be06a5cf4564aa5a900f4b6aea603 (diff)
[PATCH] powerpc: Experimental support for new G5 Macs (#2)
This adds some very basic support for the new machines, including the Quad G5 (tested), and other new dual core based machines and iMac G5 iSight (untested). This is still experimental ! There is no thermal control yet, there is no proper handing of MSIs, etc.. but it boots, I have all 4 cores up on my machine. Compared to the previous version of this patch, this one adds DART IOMMU support for the U4 chipset and thus should work fine on setups with more than 2Gb of RAM. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/iommu.h')
-rw-r--r--include/asm-powerpc/iommu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-powerpc/iommu.h b/include/asm-powerpc/iommu.h
index f89f06050893..59f062668997 100644
--- a/include/asm-powerpc/iommu.h
+++ b/include/asm-powerpc/iommu.h
@@ -56,7 +56,7 @@ struct device_node;
56 56
57/* Walks all buses and creates iommu tables */ 57/* Walks all buses and creates iommu tables */
58extern void iommu_setup_pSeries(void); 58extern void iommu_setup_pSeries(void);
59extern void iommu_setup_u3(void); 59extern void iommu_setup_dart(void);
60 60
61/* Frees table for an individual device node */ 61/* Frees table for an individual device node */
62extern void iommu_free_table(struct device_node *dn); 62extern void iommu_free_table(struct device_node *dn);
@@ -104,7 +104,7 @@ extern void iommu_unmap_single(struct iommu_table *tbl, dma_addr_t dma_handle,
104 104
105extern void iommu_init_early_pSeries(void); 105extern void iommu_init_early_pSeries(void);
106extern void iommu_init_early_iSeries(void); 106extern void iommu_init_early_iSeries(void);
107extern void iommu_init_early_u3(void); 107extern void iommu_init_early_dart(void);
108 108
109#ifdef CONFIG_PCI 109#ifdef CONFIG_PCI
110extern void pci_iommu_init(void); 110extern void pci_iommu_init(void);
@@ -113,6 +113,6 @@ extern void pci_direct_iommu_init(void);
113static inline void pci_iommu_init(void) { } 113static inline void pci_iommu_init(void) { }
114#endif 114#endif
115 115
116extern void alloc_u3_dart_table(void); 116extern void alloc_dart_table(void);
117 117
118#endif /* _ASM_IOMMU_H */ 118#endif /* _ASM_IOMMU_H */