path: root/sys/cam/ctl/ctl_frontend_iscsi.c
diff options
authorEnji Cooper <ngie@FreeBSD.org>2017-03-30 04:56:27 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-30 04:56:27 +0000
commit653e7d639682be855c34415b1b7542d9388aafd6 (patch)
treeb8a0d37377f1f1c0cafa1aaf20ee95d266860cf1 /sys/cam/ctl/ctl_frontend_iscsi.c
parent3aeacc55a5f01aaf03762fff5de1ff9c98c28a90 (diff)
Split iscsi(4) ctl frontend off of ctl(4) as cfiscsi(4)
The goal of this work is to remove the explicit dependency for ctl(4) on iscsi(4), so end-users without iscsi(4) support in the kernel can use ctl(4) for its other functions. This allows those without iscsi(4) support built into the kernel to use ctl(4) as a test mechanism. As a sidenote, this was possible around the 10.0-RELEASE period, but made impossible for end-users without iscsi(4) between 10.0-RELEASE and 11.0-RELEASE. Automatically load cfiscsi(4) from ctladm(8) and ctld(8) for backwards compatibility with previously releases. The automatic loading feature is compiled into the beforementioned tools if MK_ISCSI == yes when building world. Add a manpage for cfiscsi(4) and refer to it in ctl(4). Differential Revision: D10099 MFC after: 2 months Relnotes: yes Reviewed by: mav, trasz Sponsored by: Dell EMC Isilon
Notes: svn path=/head/; revision=316212
Diffstat (limited to 'sys/cam/ctl/ctl_frontend_iscsi.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/ctl/ctl_frontend_iscsi.c b/sys/cam/ctl/ctl_frontend_iscsi.c
index c91d52d65962..5dcef0035cea 100644
--- a/sys/cam/ctl/ctl_frontend_iscsi.c
+++ b/sys/cam/ctl/ctl_frontend_iscsi.c
@@ -184,8 +184,8 @@ static struct ctl_frontend cfiscsi_frontend =
.ioctl = cfiscsi_ioctl,
.shutdown = cfiscsi_shutdown,
-CTL_FRONTEND_DECLARE(ctlcfiscsi, cfiscsi_frontend);
-MODULE_DEPEND(ctlcfiscsi, icl, 1, 1, 1);
+CTL_FRONTEND_DECLARE(cfiscsi, cfiscsi_frontend);
+MODULE_DEPEND(cfiscsi, icl, 1, 1, 1);
static struct icl_pdu *
cfiscsi_pdu_new_response(struct icl_pdu *request, int flags)