38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
From 0c55f846de06a659a4962ff78f18a6958c64ae9f Mon Sep 17 00:00:00 2001
|
|
From: Kai Ye <yekai13@huawei.com>
|
|
Date: Tue, 17 Jan 2023 16:33:34 +0800
|
|
Subject: [PATCH 03/28] drv/hisi_sec: modify the hardware name
|
|
|
|
Modify the hardware name and printing level for driver initialization.
|
|
|
|
Signed-off-by: Kai Ye <yekai13@huawei.com>
|
|
---
|
|
drv/hisi_sec.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/drv/hisi_sec.c b/drv/hisi_sec.c
|
|
index 116424e..6187346 100644
|
|
--- a/drv/hisi_sec.c
|
|
+++ b/drv/hisi_sec.c
|
|
@@ -2580,7 +2580,7 @@ static void hisi_sec_driver_adapter(struct hisi_qp *qp)
|
|
struct hisi_qm_queue_info q_info = qp->q_info;
|
|
|
|
if (q_info.hw_type == HISI_QM_API_VER2_BASE) {
|
|
- WD_ERR("hisi sec init Kunpeng920!\n");
|
|
+ WD_INFO("hisi sec init HIP08!\n");
|
|
hisi_cipher_driver.cipher_send = hisi_sec_cipher_send;
|
|
hisi_cipher_driver.cipher_recv = hisi_sec_cipher_recv;
|
|
|
|
@@ -2590,7 +2590,7 @@ static void hisi_sec_driver_adapter(struct hisi_qp *qp)
|
|
hisi_aead_driver.aead_send = hisi_sec_aead_send;
|
|
hisi_aead_driver.aead_recv = hisi_sec_aead_recv;
|
|
} else {
|
|
- WD_ERR("hisi sec init Kunpeng930!\n");
|
|
+ WD_INFO("hisi sec init HIP09!\n");
|
|
hisi_cipher_driver.cipher_send = hisi_sec_cipher_send_v3;
|
|
hisi_cipher_driver.cipher_recv = hisi_sec_cipher_recv_v3;
|
|
|
|
--
|
|
2.25.1
|
|
|