Re: [PATCH] final support for MODULE_PARAM as kernel commandline

grant@torque.net
Mon, 13 Sep 1999 21:14:25 -0400 (EDT)


> There are two options for dealing with this: either invent a standard
> naming convention (i.e., "io" becomes "3c501_io") and live with that
> for both module parameters and boot parameters, or, have a way of
> specifying a prefix just for boot parameters, like:
>
> __setup(MODULE_PREFIX #var "=", modparm##var##_setup);
>
> I tend to prefer the prefix thing because I think it would cause less
> disruption. Module parameters could still use the short form everyone
> expects. Driver updates would consist of just adding a macro for the
> prefix.

Of course, there is already some precedent for this. All the PARIDE
drivers use parameters like pcd.verbose= or pd.drive0= ...

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

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