From patchwork Wed Jan 13 21:43:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatoly Pugachev X-Patchwork-Id: 8028581 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0C33DBEEE5 for ; Wed, 13 Jan 2016 21:53:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4B53920522 for ; Wed, 13 Jan 2016 21:53:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6FB5A204D3 for ; Wed, 13 Jan 2016 21:53:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753811AbcAMVxS (ORCPT ); Wed, 13 Jan 2016 16:53:18 -0500 Received: from u164.east.ru ([195.170.63.164]:33878 "EHLO u164.east.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750890AbcAMVxR (ORCPT ); Wed, 13 Jan 2016 16:53:17 -0500 X-Greylist: delayed 593 seconds by postgrey-1.27 at vger.kernel.org; Wed, 13 Jan 2016 16:53:16 EST Received: from yogzotot (yogzotot [192.168.111.254]) by u164.east.ru (Postfix) with ESMTPS id A990E7172; Thu, 14 Jan 2016 00:43:48 +0300 (MSK) Date: Thu, 14 Jan 2016 00:43:47 +0300 From: Anatoly Pugachev To: linux-crypto@vger.kernel.org Cc: sparclinux@vger.kernel.org Subject: [PATCH 1/2] n2rng: Attach on T5/M5, T7/M7 SPARC CPUs Message-ID: <20160113214347.GC32766@yogzotot> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 1. n2rng: Attach on T5/M5, T7/M7 SPARC CPUs Signed-off-by: Anatoly Pugachev --- {a => b}/drivers/char/hw_random/n2-drv.c | 10 ++++++++++ 1 file changed, 10 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c index 843d6f6..3b06c1d 100644 --- a/drivers/char/hw_random/n2-drv.c +++ b/drivers/char/hw_random/n2-drv.c @@ -743,6 +743,16 @@ static const struct of_device_id n2rng_match[] = { .compatible = "SUNW,kt-rng", .data = (void *) 1, }, + { + .name = "random-number-generator", + .compatible = "ORCL,m4-rng", + .data = (void *) 1, + }, + { + .name = "random-number-generator", + .compatible = "ORCL,m7-rng", + .data = (void *) 1, + }, {}, }; MODULE_DEVICE_TABLE(of, n2rng_match);