public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak-l3A5Bk7waGM@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
Subject: [PATCH] Sanitize ACPI Kconfig
Date: Fri, 7 Jan 2005 22:22:59 +0100	[thread overview]
Message-ID: <20050107212259.GA13026@wotan.suse.de> (raw)


Sanitize ACPI Kconfig. No other subsystem uses default m for all its
options and surely there is no need to do this for the more obscure
modules. When you do make oldconfig with an old option and just press
return you tend to get a lot of modules you don't want with this. 
Normally new stuff is off by default.

I added default y for the processor driver which is important
for power saving, and for the others the user can decide but 
the default is off.

Also give a useful default for the cutoff year.

Signed-off-by: Andi Kleen <ak-l3A5Bk7waGM@public.gmane.org>

diff -u linux-2.6.10-bk6/drivers/acpi/Kconfig-o linux-2.6.10-bk6/drivers/acpi/Kconfig
--- linux-2.6.10-bk6/drivers/acpi/Kconfig-o	2005-01-04 12:15:18.000000000 +0100
+++ linux-2.6.10-bk6/drivers/acpi/Kconfig	2005-01-04 13:44:00.000000000 +0100
@@ -82,7 +82,6 @@
 	tristate "AC Adapter"
 	depends on X86
 	depends on ACPI_INTERPRETER
-	default m
 	help
 	  This driver adds support for the AC Adapter object, which indicates
 	  whether a system is on AC, or not.  Typically, only mobile systems 
@@ -92,7 +91,6 @@
 	tristate "Battery"
 	depends on X86
 	depends on ACPI_INTERPRETER
-	default m
 	help
 	  This driver adds support for battery information through
 	  /proc/acpi/battery. If you have a mobile system with a battery, 
@@ -102,7 +100,6 @@
 	tristate "Button"
 	depends on ACPI_INTERPRETER
 	depends on !IA64_SGI_SN
-	default m
 	help
 	  This driver registers for events based on buttons, such as the
 	  power, sleep, and lid switch.  In the future, a daemon will read
@@ -115,7 +112,6 @@
 	depends on ACPI_INTERPRETER
 	depends on EXPERIMENTAL
 	depends on !IA64_SGI_SN
-	default m
 	help
 	  This driver implement the ACPI Extensions For Display Adapters
 	  for integrated graphics devices on motherboard, as specified in
@@ -129,7 +125,6 @@
 	tristate "Fan"
 	depends on ACPI_INTERPRETER
 	depends on !IA64_SGI_SN
-	default m
 	help
 	  This driver adds support for ACPI fan devices, allowing user-mode 
 	  applications to perform basic fan control (on, off, status).
@@ -138,7 +133,7 @@
 	tristate "Processor"
 	depends on ACPI_INTERPRETER
 	depends on !IA64_SGI_SN
-	default m
+	default y
 	help
 	  This driver installs ACPI as the idle handler for Linux, and uses
 	  ACPI C2 and C3 processor states to save power, on systems that
@@ -156,7 +151,7 @@
 config ACPI_THERMAL
 	tristate "Thermal Zone"
 	depends on ACPI_PROCESSOR
-	default m
+	default y
 	help
 	  This driver adds support for ACPI thermal zones.  Most mobile and
 	  some desktop systems support ACPI thermal zones.  It is HIGHLY
@@ -174,7 +169,6 @@
         tristate "ASUS/Medion Laptop Extras"
 	depends on X86
 	depends on ACPI_INTERPRETER
-	default m
         ---help---
           This driver provides support for extra features of ACPI-compatible
           ASUS laptops. As some of Medion laptops are made by ASUS, it may also
@@ -204,7 +198,6 @@
 	tristate "IBM ThinkPad Laptop Extras"
 	depends on X86
 	depends on ACPI_INTERPRETER
-	default m
 	---help---
 	  This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds
 	  support for Fn-Fx key combinations, Bluetooth control, video
@@ -218,7 +211,6 @@
 	tristate "Toshiba Laptop Extras"
 	depends on X86
 	depends on ACPI_INTERPRETER
-	default m
 	---help---
 	  This driver adds support for access to certain system settings
 	  on "legacy free" Toshiba laptops.  These laptops can be recognized by
@@ -259,7 +251,7 @@
 
 config ACPI_BLACKLIST_YEAR
 	int "Disable ACPI for systems before Jan 1st this year"
-	default 0
+	default 2001
 	help
 	  enter a 4-digit year, eg. 2001 to disable ACPI by default
 	  on platforms with DMI BIOS date before January 1st that year.


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

             reply	other threads:[~2005-01-07 21:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-07 21:22 Andi Kleen [this message]
     [not found] ` <20050107212259.GA13026-B4tOwbsTzaBolqkO4TVVkw@public.gmane.org>
2005-01-08 19:14   ` [PATCH] Sanitize ACPI Kconfig David Goodenough
2005-01-17  0:11   ` Pavel Machek
     [not found]     ` <20050117001150.GA1337-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-01-17 11:16       ` Andi Kleen
     [not found]         ` <20050117111602.GI29270-B4tOwbsTzaBolqkO4TVVkw@public.gmane.org>
2005-01-17 11:30           ` Pavel Machek
     [not found]             ` <20050117113007.GB1354-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-01-17 11:58               ` David Goodenough
     [not found]                 ` <200501171158.51388.david.goodenough-6b45v/Ft3lbby3iVrkZq2A@public.gmane.org>
2005-01-19 12:15                   ` Pavel Machek
     [not found]                     ` <20050119121516.GA22856-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-01-19 21:55                       ` David Goodenough
     [not found]                         ` <200501192155.48623.david.goodenough-6b45v/Ft3lbby3iVrkZq2A@public.gmane.org>
2005-01-19 22:14                           ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050107212259.GA13026@wotan.suse.de \
    --to=ak-l3a5bk7wagm@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox