How to write driver with load time parameter support?
Dan Nelson
dnelson at allantgroup.com
Tue Dec 7 19:57:10 PST 2004
In the last episode (Dec 08), cm c said:
> I've done most of my driver, but I need some load time parameters
> to be passed to this driver. Under Linux MODULE_PARM() can do
> this job, how can I do this under FBSD?
I think kernel tunables (set in /boot/loader.conf at boot time or via
/bin/kenv at runtime, readable in-kernel via TUNABLE_* macros) are your
best bet here.
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-questions
mailing list