mirror of https://gitee.com/openkylin/linux.git
17 lines
326 B
C
17 lines
326 B
C
#ifndef _ASM_X86_DEVICE_H
|
|
#define _ASM_X86_DEVICE_H
|
|
|
|
struct dev_archdata {
|
|
#ifdef CONFIG_X86_DEV_DMA_OPS
|
|
struct dma_map_ops *dma_ops;
|
|
#endif
|
|
#if defined(CONFIG_INTEL_IOMMU) || defined(CONFIG_AMD_IOMMU)
|
|
void *iommu; /* hook for IOMMU specific extension */
|
|
#endif
|
|
};
|
|
|
|
struct pdev_archdata {
|
|
};
|
|
|
|
#endif /* _ASM_X86_DEVICE_H */
|