summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/qat/qat_dh895xcc
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2014-07-25 15:56:03 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2014-08-01 22:36:10 +0800
commit4f74c3989b14338544b65360ca4f8587c63d7fd9 (patch)
treee37192227c311b287e5c424c5d24510a41eb2381 /drivers/crypto/qat/qat_dh895xcc
parentd9a44abf3aede89c3dbb6dfa8a95c856b9ae8da3 (diff)
downloadlinux-4f74c3989b14338544b65360ca4f8587c63d7fd9.tar.gz
linux-4f74c3989b14338544b65360ca4f8587c63d7fd9.tar.bz2
linux-4f74c3989b14338544b65360ca4f8587c63d7fd9.zip
crypto: qat - Fixed SKU1 dev issue
Fix for issue with SKU1 device. SKU1 device has 8 micro engines as opposed to 12 in other SKUs so it was not possible to start the non-existing micro engines. Signed-off-by: Bo Cui <bo.cui@intel.com> Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_dh895xcc')
-rw-r--r--drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.h b/drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.h
index c5ce236aa979..b707f292b377 100644
--- a/drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.h
+++ b/drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.h
@@ -59,7 +59,7 @@
#define ADF_DH895XCC_FUSECTL_SKU_4 0x3
#define ADF_DH895XCC_MAX_ACCELERATORS 6
#define ADF_DH895XCC_MAX_ACCELENGINES 12
-#define ADF_DH895XCC_ACCELERATORS_REG_OFFSET 18
+#define ADF_DH895XCC_ACCELERATORS_REG_OFFSET 13
#define ADF_DH895XCC_ACCELERATORS_MASK 0x3F
#define ADF_DH895XCC_ACCELENGINES_MASK 0xFFF
#define ADF_DH895XCC_LEGFUSE_OFFSET 0x4C