Thanks Cyril, I'll check driver.conf.
Thanks again, ajit On Fri, Jan 30, 2009 at 11:44 AM, Cyril Plisko <[email protected]> wrote: > On Fri, Jan 30, 2009 at 7:58 AM, ajit jain <[email protected]> wrote: >> Hi All, >> >> I need to add some persistent kernel tunable for my device driver. >> What I could think of is to write a utility which enable the user to >> tune them in the kernel and write those values to a file (may be some >> file in /etc/default created by my driver only) so that they can be >> persistent. >> The question arises is this a right approach to do it, or solaris have >> some tunable infrastructure in place? I just want to ensure that I am >> doing a normal thing so that nothing magical appears there. > > Ajit, > > You may want to try driver properties (see driver.conf(4)) for this purpose. > However, you approach will work as well. > > -- > Regards, > Cyril > _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
