Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Apr 2015 11:59:01 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r281265 - head/share/man/man4
Message-ID:  <201504081159.t38Bx1px074402@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Wed Apr  8 11:59:00 2015
New Revision: 281265
URL: https://svnweb.freebsd.org/changeset/base/281265

Log:
  Add a hint that "device ctl" kind of depends on "device iscsi".
  
  It actually doesn't - "device ctl" automatically pulls in ICL, which
  would normally be a part of iscsi.ko.  However, doing it that way makes
  iscsi.ko unloadable, and building ctl.ko without iscsi.ko (using
  MODULES_OVERRIDE) results in ctl.ko that is unloadable, due to missing
  symbols that would be resolved to iscsi.ko.  And since the symbols
  are named "icl_whatever", it's not obvious that it's iscsi.ko that's
  required.
  
  If there is a better way - let me know.
  
  MFC after:	1 month
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/share/man/man4/ctl.4

Modified: head/share/man/man4/ctl.4
==============================================================================
--- head/share/man/man4/ctl.4	Wed Apr  8 05:02:21 2015	(r281264)
+++ head/share/man/man4/ctl.4	Wed Apr  8 11:59:00 2015	(r281265)
@@ -23,7 +23,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\" $FreeBSD$
-.Dd October 23, 2014
+.Dd April 8, 2015
 .Dt CTL 4
 .Os
 .Sh NAME
@@ -34,6 +34,7 @@ To compile this driver into the kernel,
 place the following line in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device iscsi"
 .Cd "device ctl"
 .Ed
 .Pp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504081159.t38Bx1px074402>