提交 fb804714 编写于 作者: L Len Brown

ACPI: Kconfig: CONFIG_ACPI_PROCFS now defaults to N

delete "default y" from CONFIG_ACPI_PROCFS
(effectively making the default 'N')

List exactly what /proc files this option controls,
and clarify that it doesn't change non-deprecated files.
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 f695baf2
...@@ -76,17 +76,24 @@ config ACPI_SLEEP_PROC_SLEEP ...@@ -76,17 +76,24 @@ config ACPI_SLEEP_PROC_SLEEP
Deprecated by /sys/power/state Deprecated by /sys/power/state
config ACPI_PROCFS config ACPI_PROCFS
bool "Procfs interface (deprecated)" bool "Deprecated /proc/acpi files"
default y depends on PROC_FS
---help--- ---help---
The Procfs interface for ACPI is made optional for backward compatibility. For backwards compatibility, this option allows
As the same functions are duplicated in the sysfs interface depricated /proc/acpi/ files to exist, even when
and this proc interface will be removed some time later, they have been replaced by functions in /sys.
it's marked as deprecated. The deprecated files (and their replacements) include:
( /proc/acpi/debug_layer && debug_level are deprecated by
/sys/module/acpi/parameters/debug_layer && debug_level. /proc/acpi/info (/sys/modules/acpi/parameters/acpica_version)
/proc/acpi/info is deprecated by /proc/acpi/dsdt (/sys/firmware/acpi/tables/DSDT)
/sys/module/acpi/parameters/acpica_version ) /proc/acpi/fadt (/sys/firmware/acpi/tables/FACP)
/proc/acpi/debug_layer (/sys/module/acpi/parameters/debug_layer)
/proc/acpi/debug_level (/sys/module/acpi/parameters/debug_level)
This option has no effect on /proc/acpi/ files
and functions which do not yet exist in /sys.
Say N to delete /proc/acpi/ files that have moved to /sys/
config ACPI_AC config ACPI_AC
tristate "AC Adapter" tristate "AC Adapter"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册