crypto: qat - Change the definition of icp_qat_uof_regtype
authorPingchao Yang <pingchao.yang@intel.com>
Thu, 3 Mar 2016 07:46:45 +0000 (02:46 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Mar 2016 13:19:19 +0000 (21:19 +0800)
The definition of icp_qat_uof_regtype should be coherent with
 the definition in firmware compiler.

Signed-off-by: Yang Pingchao <pingchao.yang@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/icp_qat_uclo.h

index d97db990955d1e6a8c12d3129469fe2248f651b0..5d1ee7e534924fe8bfa346d8a87c1744dce82d9b 100644 (file)
@@ -112,27 +112,27 @@ enum icp_qat_uof_mem_region {
 };
 
 enum icp_qat_uof_regtype {
-       ICP_NO_DEST,
-       ICP_GPA_REL,
-       ICP_GPA_ABS,
-       ICP_GPB_REL,
-       ICP_GPB_ABS,
-       ICP_SR_REL,
-       ICP_SR_RD_REL,
-       ICP_SR_WR_REL,
-       ICP_SR_ABS,
-       ICP_SR_RD_ABS,
-       ICP_SR_WR_ABS,
-       ICP_DR_REL,
-       ICP_DR_RD_REL,
-       ICP_DR_WR_REL,
-       ICP_DR_ABS,
-       ICP_DR_RD_ABS,
-       ICP_DR_WR_ABS,
-       ICP_LMEM,
-       ICP_LMEM0,
-       ICP_LMEM1,
-       ICP_NEIGH_REL,
+       ICP_NO_DEST     = 0,
+       ICP_GPA_REL     = 1,
+       ICP_GPA_ABS     = 2,
+       ICP_GPB_REL     = 3,
+       ICP_GPB_ABS     = 4,
+       ICP_SR_REL      = 5,
+       ICP_SR_RD_REL   = 6,
+       ICP_SR_WR_REL   = 7,
+       ICP_SR_ABS      = 8,
+       ICP_SR_RD_ABS   = 9,
+       ICP_SR_WR_ABS   = 10,
+       ICP_DR_REL      = 19,
+       ICP_DR_RD_REL   = 20,
+       ICP_DR_WR_REL   = 21,
+       ICP_DR_ABS      = 22,
+       ICP_DR_RD_ABS   = 23,
+       ICP_DR_WR_ABS   = 24,
+       ICP_LMEM        = 26,
+       ICP_LMEM0       = 27,
+       ICP_LMEM1       = 28,
+       ICP_NEIGH_REL   = 31,
 };
 
 enum icp_qat_css_fwtype {