diff mbox

[2/2] n2rng: Attach on T5/M5, T7/M7 SPARC CPUs

Message ID 20160125160939.GB26873@yogzotot (mailing list archive)
State Superseded
Delegated to: Herbert Xu
Headers show

Commit Message

Anatoly Pugachev Jan. 25, 2016, 4:09 p.m. UTC
n2rng: Attach on T5/M5, T7/M7 SPARC CPUs

Signed-off-by: Anatoly Pugachev <matorola@gmail.com>
---
 drivers/char/hw_random/n2-drv.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

David Miller Jan. 25, 2016, 6:53 p.m. UTC | #1
From: Anatoly Pugachev <matorola@gmail.com>
Date: Mon, 25 Jan 2016 19:09:39 +0300

> n2rng: Attach on T5/M5, T7/M7 SPARC CPUs
> 
> Signed-off-by: Anatoly Pugachev <matorola@gmail.com>

Acked-by: David S. Miller <davem@davemloft.net>
--
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 mbox

Patch

diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c
index 843d6f6..8bee43a 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);