aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/amcc/crypto4xx_core.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2017-12-22 21:18:36 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-01-05 18:43:03 +1100
commitb66c685a482117d4e9ee987d252ca673689a5302 (patch)
treea691b34922814a3142bf812853a8835a6318ae34 /drivers/crypto/amcc/crypto4xx_core.h
parentcrypto: crypto4xx - shuffle iomap in front of request_irq (diff)
downloadlinux-dev-b66c685a482117d4e9ee987d252ca673689a5302.tar.xz
linux-dev-b66c685a482117d4e9ee987d252ca673689a5302.zip
crypto: crypto4xx - support Revision B parts
This patch adds support for the crypto4xx RevB cores found in the 460EX, 460SX and later cores (like the APM821xx). Without this patch, the crypto4xx driver will not be able to process any offloaded requests and simply hang indefinitely. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r--drivers/crypto/amcc/crypto4xx_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/amcc/crypto4xx_core.h b/drivers/crypto/amcc/crypto4xx_core.h
index 8ac3bd37203b..013d9992a44e 100644
--- a/drivers/crypto/amcc/crypto4xx_core.h
+++ b/drivers/crypto/amcc/crypto4xx_core.h
@@ -109,6 +109,7 @@ struct crypto4xx_device {
struct list_head alg_list; /* List of algorithm supported
by this device */
struct ratelimit_state aead_ratelimit;
+ bool is_revb;
};
struct crypto4xx_core_device {