Date: Wed, 03 Jun 2009 20:28:05 -0700 From: Sam Leffler <sam@freebsd.org> To: David Somayajulu <david.somayajulu@qlogic.com> Cc: "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org> Subject: Re: How do I pass configuration parameters to a FreeBSD Device Driver ? Message-ID: <4A273F45.8050700@freebsd.org> In-Reply-To: <75E1A2A7D185F841A975979B0906BBA65A4D0C6595@AVEXMB1.qlogic.org> References: <75E1A2A7D185F841A975979B0906BBA65A4D0C658A@AVEXMB1.qlogic.org> <4A272BF7.8060604@yahoo.com> <75E1A2A7D185F841A975979B0906BBA65A4D0C6595@AVEXMB1.qlogic.org>
index | next in thread | previous in thread | raw e-mail
David Somayajulu wrote:
> Larry Maloney wrote:
>
>> David Somayajulu wrote:
>>
>>> Hi All,
>>> I would appreciate if you could let me know, how I can pass
>>>
>> configuration parameters to a device driver, which can be processed
>> during either probe() or attach() ? Is there a way to read them from a
>> conf file of some sort ? Basically, I am interested in setting some
>> tunable parameters during driver initialization, without needing to
>> recompile the driver every time.
>>
loader(8) allows you to set tunable parameters before boot; this is
equivalent to linux-style module parameters (mostly). Unfortunately I
don't see anything in the man pages that documents them; check
sys/sys/kernel.h for the details and/or loader(8).
Sam
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A273F45.8050700>
