diff options
author | Conor McLoughlin <conor.mcloughlin@intel.com> | 2016-07-04 16:26:00 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-07-05 23:05:25 +0800 |
commit | e24860f2a6b50eb09f3a627e168433005798f8d9 (patch) | |
tree | 434e30d3a9665c05c96f3c4040c76f1547321102 /drivers/crypto/qat/qat_c3xxx | |
parent | 8d63a6d53b2afaf7b48e89a03bb94c3246f33204 (diff) | |
download | linux-e24860f2a6b50eb09f3a627e168433005798f8d9.tar.gz linux-e24860f2a6b50eb09f3a627e168433005798f8d9.tar.bz2 linux-e24860f2a6b50eb09f3a627e168433005798f8d9.zip |
crypto: qat - Use alternative reset methods depending on the specific device
Different product families will use FLR or SBR.
Virtual Function devices have no reset method.
Signed-off-by: Conor McLoughlin <conor.mcloughlin@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_c3xxx')
-rw-r--r-- | drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c b/drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c index c5bd5a9abc4d..6bc68bc00d76 100644 --- a/drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c +++ b/drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c @@ -229,6 +229,7 @@ void adf_init_hw_data_c3xxx(struct adf_hw_device_data *hw_data) hw_data->get_arb_mapping = adf_get_arbiter_mapping; hw_data->enable_ints = adf_enable_ints; hw_data->enable_vf2pf_comms = adf_pf_enable_vf2pf_comms; + hw_data->reset_device = adf_reset_flr; hw_data->min_iov_compat_ver = ADF_PFVF_COMPATIBILITY_VERSION; } |