summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorwli5 <[email protected]>2017-10-21 02:11:25 +0800
committerBrian Behlendorf <[email protected]>2017-10-20 11:11:25 -0700
commit1cfdb0e6e401087778712fa893777b064a8afb6b (patch)
tree8cc3adbd820ce4a1747f590f0ef26b4f62078a87 /config
parent6044cf59cdf80d4ba94a7b6c6736cace8a7de9db (diff)
Support integration with new QAT products
Support integration with new QAT products: Intel(R) C62x Chipset, or Atom(R) C3000 Processor Product Family SoC: 1. Detect new file name in auto-conf. 2. Change MAX_INSTANCES to 48. 3. Change "num_inst" to U16 to clean a build warning. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Weigang Li <[email protected]> Closes #6767
Diffstat (limited to 'config')
-rw-r--r--config/kernel.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/config/kernel.m4 b/config/kernel.m4
index c3ed5cf33..b759ccd39 100644
--- a/config/kernel.m4
+++ b/config/kernel.m4
@@ -532,10 +532,10 @@ AC_DEFUN([ZFS_AC_QAT], [
AC_MSG_RESULT([$qatbuild])
QAT_OBJ=${qatbuild}
- AS_IF([ ! test -e "$QAT_OBJ/icp_qa_al.ko"], [
+ AS_IF([ ! test -e "$QAT_OBJ/icp_qa_al.ko" && ! test -e "$QAT_OBJ/qat_api.ko"], [
AC_MSG_ERROR([
*** Please make sure the qat driver is installed then try again.
- *** Failed to find icp_qa_al.ko in:
+ *** Failed to find icp_qa_al.ko or qat_api.ko in:
$QAT_OBJ])
])