Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2013 16:00:39 +0530
From:      "Desai, Kashyap" <Kashyap.Desai@lsi.com>
To:        "freebsd-scsi@freebsd.org" <freebsd-scsi@freebsd.org>
Cc:        "Kenneth D. Merry" <ken@freebsd.org>, "McConnell, Stephen" <Stephen.McConnell@lsi.com>
Subject:   Default policy for Driver is inbuilt in kernel image
Message-ID:  <B2FD678A64EAAD45B089B123FDFC3ED75E6915AD43@inbmail01.lsi.com>
In-Reply-To: <B2FD678A64EAAD45B089B123FDFC3ED75E6915ABF7@inbmail01.lsi.com>
References:  <B2FD678A64EAAD45B089B123FDFC3ED75E68FD6158@inbmail01.lsi.com> <20130121170529.GA64188@nargothrond.kdm.org> <B2FD678A64EAAD45B089B123FDFC3ED75E68FD616E@inbmail01.lsi.com> <B2FD678A64EAAD45B089B123FDFC3ED75E68FD6296@inbmail01.lsi.com> <20130205211642.GA75343@nargothrond.kdm.org> <B2FD678A64EAAD45B089B123FDFC3ED75E6915ABF7@inbmail01.lsi.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hi,

Why Driver module in FreeBSD is inbuilt in kernel image. ?

Is it possible to keep Drives out of inbuilt kernel image and provide loada=
ble modules. ?

E.a I want to submit change in GENERIC as below. (remove mfi driver from li=
st so that make kernel will only build mfi but will not be part of kernel i=
mage)
Along with below change add "mfi_load=3D"YES"" in /boot/default/loader.conf=
.

Index: GENERIC
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- GENERIC     (revision 248178)
+++ GENERIC     (working copy)
@@ -163,7 +163,8 @@
 device         aac             # Adaptec FSA RAID
 device         aacp            # SCSI passthrough for aac (requires CAM)
 device         ida             # Compaq Smart RAID
-device         mfi             # LSI MegaRAID SAS
+#device                mfi             # LSI MegaRAID SAS
 device         mlx             # Mylex DAC960 family
 #XXX pointer/int warnings
 #device                pst             # Promise Supertrak SX6000


I am just worried, if there is any reason not to provide driver module as l=
oadable option in FreeBSD ?

If there is not harm, I would like to post next patch which will do as desc=
ribed.

Thanks, Kashyap




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?B2FD678A64EAAD45B089B123FDFC3ED75E6915AD43>