diff options
| author | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 20:55:21 -0400 |
|---|---|---|
| committer | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 20:55:21 -0400 |
| commit | bbb20089a3275a19e475dbc21320c3742e3ca423 (patch) | |
| tree | 216fdc1cbef450ca688135c5b8969169482d9a48 /include/linux/dma_remapping.h | |
| parent | 3e48e656903e9fd8bc805c6a2c4264d7808d315b (diff) | |
| parent | 657a77fa7284d8ae28dfa48f1dc5d919bf5b2843 (diff) | |
Merge branch 'dmaengine' into async-tx-next
Conflicts:
crypto/async_tx/async_xor.c
drivers/dma/ioat/dma_v2.h
drivers/dma/ioat/pci.c
drivers/md/raid5.c
Diffstat (limited to 'include/linux/dma_remapping.h')
| -rw-r--r-- | include/linux/dma_remapping.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/dma_remapping.h b/include/linux/dma_remapping.h index 1a455f1f86d7..5619f8522738 100644 --- a/include/linux/dma_remapping.h +++ b/include/linux/dma_remapping.h | |||
| @@ -13,6 +13,10 @@ | |||
| 13 | #define DMA_PTE_WRITE (2) | 13 | #define DMA_PTE_WRITE (2) |
| 14 | #define DMA_PTE_SNP (1 << 11) | 14 | #define DMA_PTE_SNP (1 << 11) |
| 15 | 15 | ||
| 16 | #define CONTEXT_TT_MULTI_LEVEL 0 | ||
| 17 | #define CONTEXT_TT_DEV_IOTLB 1 | ||
| 18 | #define CONTEXT_TT_PASS_THROUGH 2 | ||
| 19 | |||
| 16 | struct intel_iommu; | 20 | struct intel_iommu; |
| 17 | struct dmar_domain; | 21 | struct dmar_domain; |
| 18 | struct root_entry; | 22 | struct root_entry; |
| @@ -21,11 +25,16 @@ extern void free_dmar_iommu(struct intel_iommu *iommu); | |||
| 21 | 25 | ||
| 22 | #ifdef CONFIG_DMAR | 26 | #ifdef CONFIG_DMAR |
| 23 | extern int iommu_calculate_agaw(struct intel_iommu *iommu); | 27 | extern int iommu_calculate_agaw(struct intel_iommu *iommu); |
| 28 | extern int iommu_calculate_max_sagaw(struct intel_iommu *iommu); | ||
| 24 | #else | 29 | #else |
| 25 | static inline int iommu_calculate_agaw(struct intel_iommu *iommu) | 30 | static inline int iommu_calculate_agaw(struct intel_iommu *iommu) |
| 26 | { | 31 | { |
| 27 | return 0; | 32 | return 0; |
| 28 | } | 33 | } |
| 34 | static inline int iommu_calculate_max_sagaw(struct intel_iommu *iommu) | ||
| 35 | { | ||
| 36 | return 0; | ||
| 37 | } | ||
| 29 | #endif | 38 | #endif |
| 30 | 39 | ||
| 31 | extern int dmar_disabled; | 40 | extern int dmar_disabled; |
