diff options
author | Allan, Bruce W | 2015-05-08 02:00:42 +0200 |
---|---|---|
committer | Herbert Xu | 2015-05-11 09:06:48 +0200 |
commit | 551d7ed2fdee1fb7bba2dbd55b61e821a10a7c51 (patch) | |
tree | 36c21b24f2a783cfc3924462707eb9b80cc0799b /drivers/crypto/qat/qat_common/adf_common_drv.h | |
parent | crypto: nx - add hardware 842 crypto comp alg (diff) | |
download | kernel-qcow2-linux-551d7ed2fdee1fb7bba2dbd55b61e821a10a7c51.tar.gz kernel-qcow2-linux-551d7ed2fdee1fb7bba2dbd55b61e821a10a7c51.tar.xz kernel-qcow2-linux-551d7ed2fdee1fb7bba2dbd55b61e821a10a7c51.zip |
crypto: qat - add driver version
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_common/adf_common_drv.h')
-rw-r--r-- | drivers/crypto/qat/qat_common/adf_common_drv.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/crypto/qat/qat_common/adf_common_drv.h b/drivers/crypto/qat/qat_common/adf_common_drv.h index 0666ee6a3360..27e16c09230b 100644 --- a/drivers/crypto/qat/qat_common/adf_common_drv.h +++ b/drivers/crypto/qat/qat_common/adf_common_drv.h @@ -53,6 +53,13 @@ #include "icp_qat_fw_loader_handle.h" #include "icp_qat_hal.h" +#define ADF_MAJOR_VERSION 0 +#define ADF_MINOR_VERSION 1 +#define ADF_BUILD_VERSION 3 +#define ADF_DRV_VERSION __stringify(ADF_MAJOR_VERSION) "." \ + __stringify(ADF_MINOR_VERSION) "." \ + __stringify(ADF_BUILD_VERSION) + #define ADF_STATUS_RESTARTING 0 #define ADF_STATUS_STARTING 1 #define ADF_STATUS_CONFIGURED 2 |