public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: additional info for kernel-parameters.txt
       [not found] <c4cb03b00904231631k49902d45o9ba6bad7e4b21094@mail.gmail.com>
@ 2009-05-01 17:10 ` Jan Engelhardt
  2009-05-01 17:22   ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2009-05-01 17:10 UTC (permalink / raw)
  To: Christopher Sylvain; +Cc: Linux Kernel Mailing List


[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 [-_].

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: additional info for kernel-parameters.txt
  2009-05-01 17:10 ` additional info for kernel-parameters.txt Jan Engelhardt
@ 2009-05-01 17:22   ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2009-05-01 17:22 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Christopher Sylvain, Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-01 17:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <c4cb03b00904231631k49902d45o9ba6bad7e4b21094@mail.gmail.com>
2009-05-01 17:10 ` additional info for kernel-parameters.txt Jan Engelhardt
2009-05-01 17:22   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox