In message <[EMAIL PROTECTED]>, "Gary T. Corcoran" writes:
>No, I know it's not that easy. We need to be able to do things
>like have "TransmissionMode=4" on the kldload command line, and
>have that parse the decimal value 4, and then go into the module
>and set the value of the TransmissionMode variable to actually be
>4 immediately after loading the module into memory, before any of
>its subroutines are called. This is what the Linux module loader
>allows, and it's extremely useful...
I have a much simpler idea:
The loader needs to pass an argc+argv to the modules "configure"
routine, and the module can do whatever it damn pleases with
the passed arguments.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message