Default policy for Driver is inbuilt in kernel image
Desai, Kashyap
Kashyap.Desai at lsi.com
Tue Mar 19 10:46:04 UTC 2013
Hi,
Why Driver module in FreeBSD is inbuilt in kernel image. ?
Is it possible to keep Drives out of inbuilt kernel image and provide loadable modules. ?
E.a I want to submit change in GENERIC as below. (remove mfi driver from list so that make kernel will only build mfi but will not be part of kernel image)
Along with below change add "mfi_load="YES"" in /boot/default/loader.conf.
Index: GENERIC
===================================================================
--- 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 loadable option in FreeBSD ?
If there is not harm, I would like to post next patch which will do as described.
Thanks, Kashyap
More information about the freebsd-scsi
mailing list