David Jenkins wrote: > I need to set non-default values for the KCS address, spacing, size, > and shift in ipmi_si_intf.c. I see that there are module params set > up to do this. However, I am compiling ipmi_si_intf.c into the > kernel not loading it as a module. Is there a way to set module > params at compile time or some how pass in these params when not > loading it as a module? You can set them by doing something like "ipmi_si.<parm>=<val>" on the kernel command line. For instance, "ipmi_si.ports=0xca0".
If you have a newer kernel, you can also hotmod the parameters and dynamically add a driver. Search for /sys/modules/ipmi_si/parameters/hotmod in Documentation for details. > > Would it be appropriate to add CONFIG_KCS_ADDRESS, CONFIG_KCS_SPACING, > etc for these (meaning I would create a patch and submit)? If you want to do that, it's fine. It might be a good idea to simplify systems that don't have an automatic mechanism to configure it. It might be simpler to specify a string like in the hotmod format. -corey > > Thanks > > David Jenkins > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Openipmi-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openipmi-developer > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Openipmi-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openipmi-developer
