1 #ifndef _ASM_X86_DEVICE_H
2 #define _ASM_X86_DEVICE_H
5 #ifdef CONFIG_X86_DEV_DMA_OPS
6 struct dma_map_ops
*dma_ops
;
8 #if defined(CONFIG_INTEL_IOMMU) || defined(CONFIG_AMD_IOMMU)
9 void *iommu
; /* hook for IOMMU specific extension */
13 #if defined(CONFIG_X86_DEV_DMA_OPS) && defined(CONFIG_PCI_DOMAINS)
15 struct list_head node
;
16 struct dma_map_ops
*dma_ops
;
19 void add_dma_domain(struct dma_domain
*domain
);
20 void del_dma_domain(struct dma_domain
*domain
);
23 struct pdev_archdata
{
26 #endif /* _ASM_X86_DEVICE_H */