If Kcofnig ex) drivers/infiniband/ulp/srp/Kconfig
tristate "InfiniBand SCSI RDMA Protocol"
depends on SCSI
will generate .config like the following
so please take a look Kconfig file and add
your driver parameters.
Maybe, you can build additional module.
If that souce is open, I’ll try it. But it seems difficult.
If you know any simlar source, I can assist much.
And about another question
Have you ever tried to edit /etc/modules file?
I edited this file like the folowing
# /etc/modules: kernel modules to load at boot time.
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
And after reboot, ‘‘loop’’ moudle loaded automatically.
And If that driver contain init script,
It is good idea to execute modprobe(insmod) in that script.