mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
scripts/specialize-patch: Expand HAVE_DEV_ATTR_MAX_RECV_SGE
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8407 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -99,6 +99,9 @@ function evaluate(stmnt, pattern, arg, op, result) {
|
||||
"(LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0) || " \
|
||||
"RHEL_RELEASE_CODE -0 >= 7 * 256 + 6)", stmnt)
|
||||
|
||||
gsub("defined\\(HAVE_DEV_ATTR_MAX_RECV_SGE\\)",
|
||||
"(LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0))", stmnt)
|
||||
|
||||
gsub("HAVE_DEV_ATTR_MAX_SEND_SGE",
|
||||
"(LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0))", stmnt)
|
||||
|
||||
@@ -385,6 +388,7 @@ function handle_if(evaluated)
|
||||
|| $0 ~ "CREATE_SEND_MAD_HAS_BASE_ARG" \
|
||||
|| $0 ~ "ENABLE_NPIV" \
|
||||
|| $0 ~ "FC_VPORT_CREATE_DEFINED" \
|
||||
|| $0 ~ "HAVE_DEV_ATTR_MAX_RECV_SGE" \
|
||||
|| $0 ~ "HAVE_DEV_ATTR_MAX_SEND_SGE" \
|
||||
|| $0 ~ "HAVE_IB_DMA_MAP_OPS" \
|
||||
|| $0 ~ "HAVE_IB_QUERY_DEVICE" \
|
||||
|
||||
Reference in New Issue
Block a user