diff options
author | Gary R Hook <gary.hook@amd.com> | 2016-07-26 19:09:20 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-08-09 18:47:05 +0800 |
commit | fba8855cb2403707b0639bdff0d34149699f14a2 (patch) | |
tree | 412a2b3649c7a61ce38233ae2ba7bb456e290b8a /drivers/crypto/ccp/ccp-dev.h | |
parent | fa242e80c7fb581eddbe636186020786f2e117da (diff) | |
download | linux-fba8855cb2403707b0639bdff0d34149699f14a2.tar.gz linux-fba8855cb2403707b0639bdff0d34149699f14a2.tar.bz2 linux-fba8855cb2403707b0639bdff0d34149699f14a2.zip |
crypto: ccp - Abstract PCI info for the CCP
Device-specific values for the BAR and offset should be found
in the version data structure.
Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/ccp-dev.h')
-rw-r--r-- | drivers/crypto/ccp/ccp-dev.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/ccp-dev.h b/drivers/crypto/ccp/ccp-dev.h index 5fbee638c9ba..8824e41677c6 100644 --- a/drivers/crypto/ccp/ccp-dev.h +++ b/drivers/crypto/ccp/ccp-dev.h @@ -4,6 +4,7 @@ * Copyright (C) 2013,2016 Advanced Micro Devices, Inc. * * Author: Tom Lendacky <thomas.lendacky@amd.com> + * Author: Gary R Hook <gary.hook@amd.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -163,6 +164,8 @@ struct ccp_actions { struct ccp_vdata { unsigned int version; const struct ccp_actions *perform; + const unsigned int bar; + const unsigned int offset; }; extern struct ccp_vdata ccpv3; |