mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 05:24:12 +08:00
4692d77fc3
32-bit x86 systems may need their own DMA operations, so add a new config option, which is turned on for 64-bit systems. This patch has no functional effect but it paves the way for supporting the STA2x11 I/O Hub and possibly other chips. Signed-off-by: Alessandro Rubini <rubini@gnudd.com> Link: http://lkml.kernel.org/r/f79fcc1a2e17ef942e1b798b92aac43a80202532.1333560789.git.rubini@gnudd.com Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com> Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
20 lines
372 B
C
20 lines
372 B
C
#ifndef _ASM_X86_DEVICE_H
|
|
#define _ASM_X86_DEVICE_H
|
|
|
|
struct dev_archdata {
|
|
#ifdef CONFIG_ACPI
|
|
void *acpi_handle;
|
|
#endif
|
|
#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 */
|