aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/talitos.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2011-11-21 03:13:26 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2011-11-21 03:21:50 -0500
commit5b859b6ebb18b37244d44b5300bf765694b7303c (patch)
tree7e55af4294865c2b7316f57d554613619ee0a716 /drivers/crypto/talitos.c
parent79b3a418e090248d00ceba40b81da9dfac753367 (diff)
crypto: talitos - be less noisy on startup
talitos prints every algorithm it registers at module load time. Algorithms are being added that make for an excessively noisy console (latest HMACs patch makes an SEC 3.1 print 20 lines). Instead, display the SEC h/w version number, and inform the user of algorithm registration status in /proc/crypto, like so: talitos ffe30000.crypto: fsl,sec3.1 algorithms registered in /proc/crypto Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/talitos.c')
-rw-r--r--drivers/crypto/talitos.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c
index 8ce87317310b..c372a18ed22e 100644
--- a/drivers/crypto/talitos.c
+++ b/drivers/crypto/talitos.c
@@ -2784,12 +2784,13 @@ static int talitos_probe(struct platform_device *ofdev)
2784 dev_err(dev, "%s alg registration failed\n", 2784 dev_err(dev, "%s alg registration failed\n",
2785 name); 2785 name);
2786 kfree(t_alg); 2786 kfree(t_alg);
2787 } else { 2787 } else
2788 list_add_tail(&t_alg->entry, &priv->alg_list); 2788 list_add_tail(&t_alg->entry, &priv->alg_list);
2789 dev_info(dev, "%s\n", name);
2790 }
2791 } 2789 }
2792 } 2790 }
2791 if (!list_empty(&priv->alg_list))
2792 dev_info(dev, "%s algorithms registered in /proc/crypto\n",
2793 (char *)of_get_property(np, "compatible", NULL));
2793 2794
2794 return 0; 2795 return 0;
2795 2796