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>
This commit is contained in:
Родитель
ed70b479c2
Коммит
551d7ed2fd
|
@ -53,6 +53,13 @@
|
||||||
#include "icp_qat_fw_loader_handle.h"
|
#include "icp_qat_fw_loader_handle.h"
|
||||||
#include "icp_qat_hal.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_RESTARTING 0
|
||||||
#define ADF_STATUS_STARTING 1
|
#define ADF_STATUS_STARTING 1
|
||||||
#define ADF_STATUS_CONFIGURED 2
|
#define ADF_STATUS_CONFIGURED 2
|
||||||
|
|
|
@ -504,3 +504,4 @@ MODULE_LICENSE("Dual BSD/GPL");
|
||||||
MODULE_AUTHOR("Intel");
|
MODULE_AUTHOR("Intel");
|
||||||
MODULE_DESCRIPTION("Intel(R) QuickAssist Technology");
|
MODULE_DESCRIPTION("Intel(R) QuickAssist Technology");
|
||||||
MODULE_ALIAS_CRYPTO("intel_qat");
|
MODULE_ALIAS_CRYPTO("intel_qat");
|
||||||
|
MODULE_VERSION(ADF_DRV_VERSION);
|
||||||
|
|
|
@ -419,3 +419,4 @@ MODULE_LICENSE("Dual BSD/GPL");
|
||||||
MODULE_AUTHOR("Intel");
|
MODULE_AUTHOR("Intel");
|
||||||
MODULE_FIRMWARE(ADF_DH895XCC_FW);
|
MODULE_FIRMWARE(ADF_DH895XCC_FW);
|
||||||
MODULE_DESCRIPTION("Intel(R) QuickAssist Technology");
|
MODULE_DESCRIPTION("Intel(R) QuickAssist Technology");
|
||||||
|
MODULE_VERSION(ADF_DRV_VERSION);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче