x86/PCI: Allow DMA ops specific to a PCI domain
[deliverable/linux.git] / arch / x86 / include / asm / device.h
index 03dd72957d2f635a570fa26a978ddb0e26027873..684ed6c3aa679d15dac80a48cd832ecf721b52dd 100644 (file)
@@ -10,6 +10,16 @@ struct dev_archdata {
 #endif
 };
 
+#if defined(CONFIG_X86_DEV_DMA_OPS) && defined(CONFIG_PCI_DOMAINS)
+struct dma_domain {
+       struct list_head node;
+       struct dma_map_ops *dma_ops;
+       int domain_nr;
+};
+void add_dma_domain(struct dma_domain *domain);
+void del_dma_domain(struct dma_domain *domain);
+#endif
+
 struct pdev_archdata {
 };
 
This page took 0.023978 seconds and 5 git commands to generate.