diff options
author | Varun Sethi <Varun.Sethi@freescale.com> | 2013-07-22 13:03:12 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-07-24 20:18:39 (GMT) |
commit | 1117456e4c349f88839e09fd7bf1d3cc36609979 (patch) | |
tree | c634485c2879d6902cb3b69972f9ca24a666033f /include/linux | |
parent | 65667541a3908d2e8268a927e3aa7c7098f31ce1 (diff) | |
download | linux-fsl-qoriq-1117456e4c349f88839e09fd7bf1d3cc36609979.tar.xz |
Move operation mapping index to iommu.h.
Represent operation mappings as an enum. These have been moved to iommu.h
to support IOMMU API for setting operation mappings per window.
Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com>
Change-Id: I900274f8ed703b9e10a4b3fb7d6653bd8c3a080d
Reviewed-on: http://git.am.freescale.net:8181/3438
Reviewed-by: Yoder Stuart-B08248 <stuart.yoder@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/iommu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index f6c0fc7..c7cfaf7 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -76,6 +76,14 @@ struct iommu_domain { #define IOMMU_CAP_CACHE_COHERENCY 0x1 #define IOMMU_CAP_INTR_REMAP 0x2 /* isolates device intrs */ +/* define indexes for each operation mapping scenario */ +enum omap_index { + OMI_QMAN, + OMI_FMAN, + OMI_QMAN_PRIV, + OMI_CAAM, +}; + /* * Following constraints are specifc to PAMUV1: * -aperture must be power of 2, and naturally aligned |