On Thu, Apr 10, 2014 at 04:29:23AM +0000, Taylor R Campbell wrote: > Date: Wed, 9 Apr 2014 20:30:24 +0300 > From: Jukka Ruohonen <[email protected]> > > On Fri, Apr 04, 2014 at 11:47:47AM +0000, Taylor R Campbell wrote: > > For now, yes. I can make it a sysctl, but do you have a suggestion > > for how to enable it at boot? We don't have any notion of module > > parameters like Linux does. > > Hmm. modload(8)? > > Thanks, I stand corrected. Can parameters be passed in boot.cfg? The > i386/boot(8) man page is a little unclear to me.
Supposedly yes, but someone else needs to fill in the details. I do not know what is the current state of the module discussion, but there are bigger issues looming in the shadow. At least there is no systematic way to pass the parameters (cf. /etc/modprobe.d in Linux). I think dholland@ was at some point discussing comparable config(1) issues. If there would be a systematic way, it would be easy to modularize for instance the whole ISA stack, whereas now hardcoded parameters make this impossible in practice. There are also many benefits. Take the recent addition of tpm(4) as an example: it hardcodes irq 7, and thus old school setups with parallel printers are broken by design. - Jukka.
