Re: additional info for kernel-parameters.txt

From: Randy Dunlap
Date: Fri May 01 2009 - 13:21:24 EST


Jan Engelhardt wrote:
> [Cc: linux-kernel]
>
> On Friday 2009-04-24 01:31, Christopher Sylvain wrote:
>
>> a while ago you invited patches to kernel-parameters.txt when someone said
>> they were
>> unhappy with a reference to a source file instead of listing the actual
>> parameters.
>
> [1] possibly http://lkml.org/lkml/2006/12/18/185
>
>
>> instead of a patch, how about simply adding:
>> -----
>>
>> (We allow underscores for compatibility with the modules code)
>> apm=on/off enable/disable APM
>> [no-]allow[-_]ints allow interrupts during BIOS calls
>> [no-]broken[-_]psr BIOS has a broken GetPowerStatus call
>> [no-]realmode[-_]power[-_]off switch to real mode before powering off
>> [no-]debug log some debugging messages
>> [no-]power[-_]off power off on shutdown
>> [no-]smp Use apm even on an SMP box
>> bounce[-_]interval=<n> number of ticks to ignore suspend bounces
>> idle[-_]threshold=<n> System idle percentage above which to make APM BIOS
>> idle calls. Set it to 100 to disable.
>> idle[-_]period=<n> Period (in 1/100s of a second) over which the idle
>> percentage is calculated.
>>
>> see /linux/arch/x86/kernel/apm_32.c for some additional information
>
> Saying "we allow underscores" is enough, I would not clutter the
> textfile with [-_].

Agreed. This is what kernel/params.c says:

/* Hyphens and underscores equivalent in parameter names. */


>> -----
>>
>> to the entry for [APM] ?


--
~Randy
--
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/