summaryrefslogtreecommitdiffstats
path: root/sys/dev/iscsi
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2014-05-07 07:31:25 +0000
committertrasz <trasz@FreeBSD.org>2014-05-07 07:31:25 +0000
commitf86dc9fb87f300d9fa5fc14c7723812853a5fc98 (patch)
tree8f6ec659fa38cee1c655a15bba1f48bfbbb03277 /sys/dev/iscsi
parent690b7a7a127bf05683bcac2f8623f493fa28647f (diff)
downloadFreeBSD-src-f86dc9fb87f300d9fa5fc14c7723812853a5fc98.zip
FreeBSD-src-f86dc9fb87f300d9fa5fc14c7723812853a5fc98.tar.gz
MFC r264525:
Add some stuff to make it easier to figure out for the system administrator whether the ICL_KERNEL_PROXY stuff got compiled in correctly. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/dev/iscsi')
-rw-r--r--sys/dev/iscsi/iscsi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/iscsi/iscsi.c b/sys/dev/iscsi/iscsi.c
index 1e21421..6b93e41 100644
--- a/sys/dev/iscsi/iscsi.c
+++ b/sys/dev/iscsi/iscsi.c
@@ -65,6 +65,10 @@
#include <sys/socketvar.h>
#endif
+#ifdef ICL_KERNEL_PROXY
+FEATURE(iscsi_kernel_proxy, "iSCSI initiator built with ICL_KERNEL_PROXY");
+#endif
+
/*
* XXX: This is global so the iscsi_unload() can access it.
* Think about how to do this properly.
OpenPOWER on IntegriCloud