patch-2.4.22 linux-2.4.22/drivers/acpi/Config.in
Next file: linux-2.4.22/drivers/acpi/Makefile
Previous file: linux-2.4.22/drivers/acorn/scsi/scsi.h
Back to the patch index
Back to the overall index
- Lines: 108
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/drivers/acpi/Config.in
- Orig date:
2001-06-20 17:47:39.000000000 -0700
diff -urN linux-2.4.21/drivers/acpi/Config.in linux-2.4.22/drivers/acpi/Config.in
@@ -1,17 +1,94 @@
#
-# ACPI configuration
+# ACPI Configuration
#
-#mainmenu_option next_comment
-#comment 'ACPI Configuration'
-dep_bool ' ACPI Debug Statements' CONFIG_ACPI_DEBUG $CONFIG_ACPI
-dep_tristate ' ACPI Bus Manager' CONFIG_ACPI_BUSMGR $CONFIG_ACPI
+if [ "$CONFIG_X86" = "y" ]; then
-dep_tristate ' System' CONFIG_ACPI_SYS $CONFIG_ACPI_BUSMGR $CONFIG_ACPI
-dep_tristate ' Processor' CONFIG_ACPI_CPU $CONFIG_ACPI_BUSMGR $CONFIG_ACPI
-dep_tristate ' Button' CONFIG_ACPI_BUTTON $CONFIG_ACPI_BUSMGR $CONFIG_ACPI
-dep_tristate ' AC Adapter' CONFIG_ACPI_AC $CONFIG_ACPI_BUSMGR $CONFIG_ACPI
-dep_tristate ' Embedded Controller' CONFIG_ACPI_EC $CONFIG_ACPI_BUSMGR $CONFIG_ACPI
-dep_tristate ' Control Method Battery' CONFIG_ACPI_CMBATT $CONFIG_ACPI_BUSMGR $CONFIG_ACPI $CONFIG_ACPI_EC
-dep_tristate ' Thermal' CONFIG_ACPI_THERMAL $CONFIG_ACPI_BUSMGR $CONFIG_ACPI $CONFIG_ACPI_EC
-#endmenu
+ mainmenu_option next_comment
+ comment 'ACPI Support'
+ bool 'ACPI Support' CONFIG_ACPI
+ if [ "$CONFIG_ACPI" = "y" ]; then
+ if [ "$CONFIG_SMP" = "y" ]; then
+ bool 'CPU Enumeration Only' CONFIG_ACPI_HT_ONLY
+ else
+ define_bool CONFIG_ACPI_HT_ONLY n
+ fi
+
+ if [ "$CONFIG_ACPI_HT_ONLY" = "n" ]; then
+ define_bool CONFIG_ACPI_BOOT y
+ define_bool CONFIG_ACPI_BUS y
+ define_bool CONFIG_ACPI_INTERPRETER y
+ define_bool CONFIG_ACPI_EC y
+ define_bool CONFIG_ACPI_POWER y
+ if [ "$CONFIG_PCI" = "y" ]; then
+ define_bool CONFIG_ACPI_PCI y
+ fi
+ define_bool CONFIG_ACPI_SLEEP y
+ define_bool CONFIG_ACPI_SYSTEM y
+ tristate ' AC Adapter' CONFIG_ACPI_AC
+ tristate ' Battery' CONFIG_ACPI_BATTERY
+ tristate ' Button' CONFIG_ACPI_BUTTON
+ tristate ' Fan' CONFIG_ACPI_FAN
+ tristate ' Processor' CONFIG_ACPI_PROCESSOR
+ dep_tristate ' Thermal Zone' CONFIG_ACPI_THERMAL $CONFIG_ACPI_PROCESSOR
+ if [ "$CONFIG_NUMA" = "y" -a "$CONFIG_X86_64" != "y" ]; then
+ dep_bool ' NUMA support' CONFIG_ACPI_NUMA $CONFIG_NUMA
+ fi
+ tristate ' ASUS Laptop Extras' CONFIG_ACPI_ASUS
+ tristate ' Toshiba Laptop Extras' CONFIG_ACPI_TOSHIBA
+ bool ' Debug Statements' CONFIG_ACPI_DEBUG
+ bool ' Relaxed AML Checking' CONFIG_ACPI_RELAXED_AML
+ fi
+ fi
+
+ endmenu
+
+fi
+
+
+if [ "$CONFIG_IA64" = "y" ]; then
+
+ if [ "$CONFIG_IA64_SGI_SN" = "y" ]; then
+ mainmenu_option next_comment
+ comment 'ACPI Support'
+ define_bool CONFIG_ACPI y
+ define_bool CONFIG_ACPI_EFI y
+ define_bool CONFIG_ACPI_BOOT y
+ define_bool CONFIG_ACPI_BUS n
+ define_bool CONFIG_ACPI_INTERPRETER n
+ define_bool CONFIG_ACPI_PCI n
+ define_bool CONFIG_ACPI_POWER n
+ define_bool CONFIG_ACPI_SYSTEM n
+ define_bool CONFIG_ACPI_BUTTON n
+ define_bool CONFIG_ACPI_FAN n
+ define_bool CONFIG_ACPI_PROCESSOR n
+ define_bool CONFIG_ACPI_THERMAL n
+ define_bool CONFIG_ACPI_NUMA y
+ endmenu
+ fi
+
+ if [ "$CONFIG_IA64_HP_SIM" = "n" ]; then
+ mainmenu_option next_comment
+ comment 'ACPI Support'
+ if [ "$CONFIG_PCI" = "y" ]; then
+ define_bool CONFIG_ACPI_PCI y
+ fi
+ define_bool CONFIG_ACPI y
+ define_bool CONFIG_ACPI_EFI y
+ define_bool CONFIG_ACPI_BOOT y
+ define_bool CONFIG_ACPI_BUS y
+ define_bool CONFIG_ACPI_INTERPRETER y
+ define_bool CONFIG_ACPI_POWER y
+ define_bool CONFIG_ACPI_SYSTEM y
+ tristate ' Button' CONFIG_ACPI_BUTTON
+ tristate ' Fan' CONFIG_ACPI_FAN
+ tristate ' Processor' CONFIG_ACPI_PROCESSOR
+ dep_tristate ' Thermal Zone' CONFIG_ACPI_THERMAL $CONFIG_ACPI_PROCESSOR
+ if [ "$CONFIG_NUMA" = "y" ]; then
+ dep_bool ' NUMA support' CONFIG_ACPI_NUMA $CONFIG_NUMA
+ fi
+ bool ' Debug Statements' CONFIG_ACPI_DEBUG
+ endmenu
+ fi
+
+fi
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)