Date: Tue, 7 Dec 2004 21:57:09 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: cm c <beatlelittle@yahoo.com.cn> Cc: freebsd-questions@freebsd.org Subject: Re: How to write driver with load time parameter support? Message-ID: <20041208035709.GF2629@dan.emsphone.com> In-Reply-To: <20041208033858.1403.qmail@web15302.mail.bjs.yahoo.com> References: <20041208033858.1403.qmail@web15302.mail.bjs.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041208035709.GF2629>