Date: Tue, 11 Jul 2000 21:40:17 -0400 From: Sergey Babkin <babkin@bellatlantic.net> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: "Gary T. Corcoran" <gcorcoran@lucent.com>, Archie Cobbs <archie@whistle.com>, Warner Losh <imp@village.org>, Mike Smith <msmith@FreeBSD.ORG>, FreeBSD Hackers <freebsd-hackers@FreeBSD.ORG> Subject: Re: Module parameters? Message-ID: <396BCC81.DA54BE70@bellatlantic.net> References: <3453.963351517@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote: > > In message <396B8BBB.4AA1867D@lucent.com>, "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 > > 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. Would be good to provide some standard routine somewhat like getopt() so that each module won't reimplement it by itself. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?396BCC81.DA54BE70>