How do I pass configuration parameters to a FreeBSD Device Driver ?

Larry Maloney larrypatrickmaloney at yahoo.com
Thu Jun 4 02:18:41 UTC 2009


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe at freebsd.org"
>
>   
Isn't that what the hints file is for?

Larry

-- 
==============================
Larry P. Maloney
CEO/CTO SoftNet Solutions

Phone: 650-961-2315
  Web: www.softnetsolution.com



More information about the freebsd-drivers mailing list