X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ppc64%2Fiommu.h;h=e67575457fb2ded15f3c9d3a0ce2660b7f49b506;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=8530fb673dcc5e950226d9bc31cc28932915334b;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/asm-ppc64/iommu.h b/include/asm-ppc64/iommu.h index 8530fb673..e67575457 100644 --- a/include/asm-ppc64/iommu.h +++ b/include/asm-ppc64/iommu.h @@ -104,16 +104,19 @@ extern struct iommu_table vio_tce_table; /* Tce table for virtual bus */ struct scatterlist; -#ifdef CONFIG_PPC_PSERIES +#ifdef CONFIG_PPC_MULTIPLATFORM + /* Walks all buses and creates iommu tables */ extern void iommu_setup_pSeries(void); -extern void iommu_setup_pmac(void); +extern void iommu_setup_u3(void); /* Creates table for an individual device node */ extern void iommu_devnode_init(struct device_node *dn); -#endif /* CONFIG_PPC_PSERIES */ + +#endif /* CONFIG_PPC_MULTIPLATFORM */ #ifdef CONFIG_PPC_ISERIES + /* Walks all buses and creates iommu tables */ extern void iommu_setup_iSeries(void); @@ -123,8 +126,8 @@ extern void __init iommu_vio_init(void); struct iSeries_Device_Node; /* Creates table for an individual device node */ extern void iommu_devnode_init(struct iSeries_Device_Node *dn); -#endif /* CONFIG_PPC_ISERIES */ +#endif /* CONFIG_PPC_ISERIES */ /* Initializes an iommu_table based in values set in the passed-in * structure @@ -152,6 +155,8 @@ extern void tce_init_iSeries(void); extern void pci_iommu_init(void); extern void pci_dma_init_direct(void); +extern void alloc_u3_dart_table(void); + extern int ppc64_iommu_off; #endif /* _ASM_IOMMU_H */