Date: Wed, 3 Jun 2009 19:27:25 -0700 From: David Somayajulu <david.somayajulu@qlogic.com> To: "larrypatrickmaloney@yahoo.com" <larrypatrickmaloney@yahoo.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: <75E1A2A7D185F841A975979B0906BBA65A4D0C6595@AVEXMB1.qlogic.org> In-Reply-To: <4A272BF7.8060604@yahoo.com> References: <75E1A2A7D185F841A975979B0906BBA65A4D0C658A@AVEXMB1.qlogic.org> <4A272BF7.8060604@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > > > > thanks > > david Somayajulu > > > > _______________________________________________ > > freebsd-drivers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > > To unsubscribe, send any mail to "freebsd-drivers- > unsubscribe@freebsd.org" > > > > > Isn't that what the hints file is for? Sorry, I am sort of new to FreeBSD. From what I understand /boot/device.hin= ts gets read during boot time, the values cannot be changed by the user whi= le the kernel is running - am I correct ? I have a loadable driver module and would like to do the following: 1. Set some tunable parameters of the driver. 2. Load the driver. Run a few tests. 3. Unload the driver. 4. repeat steps 1 thru 3. >=20 > Larry >=20 > -- > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > Larry P. Maloney > CEO/CTO SoftNet Solutions >=20 > Phone: 650-961-2315 > Web: www.softnetsolution.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?75E1A2A7D185F841A975979B0906BBA65A4D0C6595>