From patchwork Wed Aug 17 07:03:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hariprasad S X-Patchwork-Id: 9285231 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 394C5600CB for ; Wed, 17 Aug 2016 07:04:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CC0928856 for ; Wed, 17 Aug 2016 07:04:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2187C28859; Wed, 17 Aug 2016 07:04:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 01EBD28856 for ; Wed, 17 Aug 2016 07:04:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753877AbcHQHEh (ORCPT ); Wed, 17 Aug 2016 03:04:37 -0400 Received: from stargate.chelsio.com ([12.32.117.8]:4071 "EHLO stargate3.asicdesigners.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753853AbcHQHEa (ORCPT ); Wed, 17 Aug 2016 03:04:30 -0400 Received: from strawberry.asicdesigners.com ([10.193.185.96]) by stargate3.asicdesigners.com (8.13.8/8.13.8) with ESMTP id u7H73KXh021045; Wed, 17 Aug 2016 00:03:53 -0700 From: Hariprasad Shenai To: netdev@vger.kernel.org, linux-crypto@vger.kernel.org Cc: davem@davemloft.net, herbert@gondor.apana.org.au, atul.gupta@chelsio.com, yeshaswi@chelsio.com, jlulla@chelsio.com, harsh@chelsio.com, Hariprasad Shenai Subject: [PATCHv3 net-next 4/4] crypto: Added Chelsio Menu to the Kconfig file Date: Wed, 17 Aug 2016 12:33:06 +0530 Message-Id: <1471417386-14026-5-git-send-email-hariprasad@chelsio.com> X-Mailer: git-send-email 1.7.3 In-Reply-To: <1471417386-14026-1-git-send-email-hariprasad@chelsio.com> References: <1471417386-14026-1-git-send-email-hariprasad@chelsio.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adds the config entry for the Chelsio Crypto Driver, Makefile changes for the same. Signed-off-by: Atul Gupta Signed-off-by: Hariprasad Shenai --- drivers/crypto/Kconfig | 2 ++ drivers/crypto/Makefile | 1 + drivers/crypto/chelsio/Kconfig | 19 +++++++++++++++++++ drivers/crypto/chelsio/Makefile | 4 ++++ 4 files changed, 26 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/chelsio/Kconfig create mode 100644 drivers/crypto/chelsio/Makefile diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index d77ba2f..b44faf0 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -537,4 +537,6 @@ config CRYPTO_DEV_ROCKCHIP This driver interfaces with the hardware crypto accelerator. Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode. +source "drivers/crypto/chelsio/Kconfig" + endif # CRYPTO_HW diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile index 3c6432d..ad7250f 100644 --- a/drivers/crypto/Makefile +++ b/drivers/crypto/Makefile @@ -31,3 +31,4 @@ obj-$(CONFIG_CRYPTO_DEV_QCE) += qce/ obj-$(CONFIG_CRYPTO_DEV_VMX) += vmx/ obj-$(CONFIG_CRYPTO_DEV_SUN4I_SS) += sunxi-ss/ obj-$(CONFIG_CRYPTO_DEV_ROCKCHIP) += rockchip/ +obj-$(CONFIG_CRYPTO_DEV_CHELSIO) += chelsio/ diff --git a/drivers/crypto/chelsio/Kconfig b/drivers/crypto/chelsio/Kconfig new file mode 100644 index 0000000..2c05224 --- /dev/null +++ b/drivers/crypto/chelsio/Kconfig @@ -0,0 +1,19 @@ +config CRYPTO_DEV_CHELSIO + tristate "Chelsio Crypto Co-processor Driver" + depends on CHELSIO_T4 + select CRYPTO_SHA1 + select CRYPTO_SHA256 + select CRYPTO_SHA512 + ---help--- + The Chelsio Crypto Co-processor driver for T6 adapters. + + For general information about Chelsio and our products, visit + our website at . + + For customer support, please visit our customer support page at + . + + Please send feedback to . + + To compile this driver as a module, choose M here: the module + will be called chcr. diff --git a/drivers/crypto/chelsio/Makefile b/drivers/crypto/chelsio/Makefile new file mode 100644 index 0000000..7e4fda5 --- /dev/null +++ b/drivers/crypto/chelsio/Makefile @@ -0,0 +1,4 @@ + ccflags-y := -Idrivers/net/ethernet/chelsio/cxgb4 + + obj-$(CONFIG_CRYPTO_DEV_CHELSIO) += chcr.o + chcr-objs := chcr_core.o chcr_algo.o \ No newline at end of file