lkml.org 
[lkml]   [1999]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] final support for MODULE_PARAM as kernel commandline
Date
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site