summaryrefslogtreecommitdiff
path: root/drivers/crypto/qat/qat_c62x
diff options
context:
space:
mode:
authorConor McLoughlin <conor.mcloughlin@intel.com>2016-07-04 15:26:00 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2016-07-05 15:05:25 (GMT)
commite24860f2a6b50eb09f3a627e168433005798f8d9 (patch)
tree434e30d3a9665c05c96f3c4040c76f1547321102 /drivers/crypto/qat/qat_c62x
parent8d63a6d53b2afaf7b48e89a03bb94c3246f33204 (diff)
downloadlinux-e24860f2a6b50eb09f3a627e168433005798f8d9.tar.xz
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_c62x')
-rw-r--r--drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.c b/drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.c
index 879e04c..618cec3 100644
--- a/drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.c
+++ b/drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.c
@@ -239,6 +239,7 @@ void adf_init_hw_data_c62x(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;
}