git: 60bb979b3c32 - main - iser: Add kernel build glue

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 09 Apr 2024 22:03:43 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=60bb979b3c3224f01e96f7e3c92a270977d2587b

commit 60bb979b3c3224f01e96f7e3c92a270977d2587b
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-04-09 22:02:58 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-04-09 22:02:58 +0000

    iser: Add kernel build glue
    
    'device iser' is documented in iser(4) but not supported.  Hook it up
    to the build.
    
    Reviewed by:    imp
    Sponsored by:   Chelsio Communications
    Differential Revision:  https://reviews.freebsd.org/D44687
---
 sys/conf/files | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/sys/conf/files b/sys/conf/files
index 549a3590f76b..68f8060e61ad 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1891,6 +1891,14 @@ dev/iscsi/icl_conn_if.m		optional cfiscsi | iscsi
 dev/iscsi/icl_soft.c		optional iscsi
 dev/iscsi/icl_soft_proxy.c	optional iscsi
 dev/iscsi/iscsi.c		optional iscsi scbus
+dev/iser/icl_iser.c		optional iser				\
+	compile-with "${OFED_C} -DICL_KERNEL_PROXY"
+dev/iser/iser_initiator.c	optional iser				\
+	compile-with "${OFED_C} -DICL_KERNEL_PROXY"
+dev/iser/iser_memory.c		optional iser				\
+	compile-with "${OFED_C} -DICL_KERNEL_PROXY"
+dev/iser/iser_verbs.c		optional iser				\
+	compile-with "${OFED_C} -DICL_KERNEL_PROXY"
 dev/ismt/ismt.c			optional ismt
 dev/isl/isl.c			optional isl iicbus
 dev/isp/isp.c			optional isp