Rename kern.icl.drivers to kern.icl.offloads, for consistency.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2016-05-24 08:54:41 +00:00
parent b891159418
commit 93fb610fe8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300593

View File

@ -69,7 +69,7 @@ struct icl_softc {
TAILQ_HEAD(, icl_module) sc_modules;
};
static int sysctl_kern_icl_drivers(SYSCTL_HANDLER_ARGS);
static int sysctl_kern_icl_offloads(SYSCTL_HANDLER_ARGS);
static MALLOC_DEFINE(M_ICL, "icl", "iSCSI Common Layer");
static struct icl_softc *sc;
@ -77,13 +77,13 @@ SYSCTL_NODE(_kern, OID_AUTO, icl, CTLFLAG_RD, 0, "iSCSI Common Layer");
int icl_debug = 1;
SYSCTL_INT(_kern_icl, OID_AUTO, debug, CTLFLAG_RWTUN,
&icl_debug, 0, "Enable debug messages");
SYSCTL_PROC(_kern_icl, OID_AUTO, drivers,
SYSCTL_PROC(_kern_icl, OID_AUTO, offloads,
CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_MPSAFE,
NULL, 0, sysctl_kern_icl_drivers, "A",
"List of ICL drivers");
NULL, 0, sysctl_kern_icl_offloads, "A",
"List of ICL modules");
static int
sysctl_kern_icl_drivers(SYSCTL_HANDLER_ARGS)
sysctl_kern_icl_offloads(SYSCTL_HANDLER_ARGS)
{
const struct icl_module *im;
struct sbuf sb;