Re: Suggestion for handling of boot-time driver options

Grant R. Guenther (grant@torque.net)
Sun, 14 Dec 1997 21:52:03 -0500 (EST)


> grant@torque.net said:
> > I'd also like to see a small syntactic enhancement. It should also
> > be possible to set parameters with a notation like:
> > ez.base=0x378
>
> No problem and no ELF magic required here. checksetup in init/main.c
> looks up all options "foosome,thing" from the boot command line
> and matches them against a table of

[etc.]

I believe you misunderstood me. Of course the syntactic change is trivial,
but I went on to discuss something a bit more elaborate: having the
"MODULE_PARM" macro (which is used to specify which variables may be tuned
from the insmod command line) also build the foo_setup function
*automatically*. That would require some ELF magic, I believe.

--------------------------------------------------------------------------
Grant R. Guenther grant@torque.net
--------------------------------------------------------------------------