Fix IRQ flag handling naming
[linux-2.6/cjktty.git] / arch / powerpc / include / asm / device.h
bloba3954e4fcbe2edbc5466e8d2ff4bffb16ca57312
1 /*
2 * Arch specific extensions to struct device
4 * This file is released under the GPLv2
5 */
6 #ifndef _ASM_POWERPC_DEVICE_H
7 #define _ASM_POWERPC_DEVICE_H
9 struct dma_map_ops;
10 struct device_node;
12 struct dev_archdata {
13 /* DMA operations on that device */
14 struct dma_map_ops *dma_ops;
17 * When an iommu is in use, dma_data is used as a ptr to the base of the
18 * iommu_table. Otherwise, it is a simple numerical offset.
20 union {
21 dma_addr_t dma_offset;
22 void *iommu_table_base;
23 } dma_data;
25 #ifdef CONFIG_SWIOTLB
26 dma_addr_t max_direct_dma_addr;
27 #endif
30 struct pdev_archdata {
31 u64 dma_mask;
34 #endif /* _ASM_POWERPC_DEVICE_H */