hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/x86/include/asm/device.h
....@@ -3,23 +3,7 @@
33 #define _ASM_X86_DEVICE_H
44
55 struct dev_archdata {
6
-#if defined(CONFIG_INTEL_IOMMU) || defined(CONFIG_AMD_IOMMU)
7
- void *iommu; /* hook for IOMMU specific extension */
8
-#endif
9
-#ifdef CONFIG_STA2X11
10
- bool is_sta2x11;
11
-#endif
126 };
13
-
14
-#if defined(CONFIG_X86_DEV_DMA_OPS) && defined(CONFIG_PCI_DOMAINS)
15
-struct dma_domain {
16
- struct list_head node;
17
- const struct dma_map_ops *dma_ops;
18
- int domain_nr;
19
-};
20
-void add_dma_domain(struct dma_domain *domain);
21
-void del_dma_domain(struct dma_domain *domain);
22
-#endif
237
248 struct pdev_archdata {
259 };