2008-10-23 05:26:29 +00:00
|
|
|
#ifndef _ASM_X86_DEVICE_H
|
|
|
|
#define _ASM_X86_DEVICE_H
|
2007-10-15 11:57:47 +00:00
|
|
|
|
|
|
|
struct dev_archdata {
|
2011-08-24 00:05:25 +00:00
|
|
|
#if defined(CONFIG_INTEL_IOMMU) || defined(CONFIG_AMD_IOMMU)
|
2007-10-21 23:41:59 +00:00
|
|
|
void *iommu; /* hook for IOMMU specific extension */
|
|
|
|
#endif
|
2007-10-15 11:57:47 +00:00
|
|
|
};
|
|
|
|
|
2016-01-12 20:18:08 +00:00
|
|
|
#if defined(CONFIG_X86_DEV_DMA_OPS) && defined(CONFIG_PCI_DOMAINS)
|
|
|
|
struct dma_domain {
|
|
|
|
struct list_head node;
|
2017-01-20 21:04:01 +00:00
|
|
|
const struct dma_map_ops *dma_ops;
|
2016-01-12 20:18:08 +00:00
|
|
|
int domain_nr;
|
|
|
|
};
|
|
|
|
void add_dma_domain(struct dma_domain *domain);
|
|
|
|
void del_dma_domain(struct dma_domain *domain);
|
|
|
|
#endif
|
|
|
|
|
2009-07-08 11:21:31 +00:00
|
|
|
struct pdev_archdata {
|
|
|
|
};
|
|
|
|
|
2008-10-23 05:26:29 +00:00
|
|
|
#endif /* _ASM_X86_DEVICE_H */
|