Re: module parameters and 2.6 macros

From: Christoph Hellwig
Date: Sun Aug 15 2004 - 12:49:49 EST


On Sun, Aug 15, 2004 at 10:41:08AM -0700, Jon Smirl wrote:
> Is there some way to avoid two sets of parsing code with the 2.6 module
> parameter macros?

Yes, if you use module_param{,_named} and a paramter 'foo' you can use
foo=1 at modprobe time and modulename.foo=1 at the kernel command line

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/