diff options
author | Zhang Rui <rui.zhang@intel.com> | 2007-01-28 22:02:38 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-01-28 22:33:36 -0500 |
commit | 219c3c8e268b9307eae9fae4c765a0c589b98338 (patch) | |
tree | 1cec78888ba858373ca72247bf68710827eb68e0 /drivers/acpi/Kconfig | |
parent | b981c591891dc8885de36498d38fa8d8a5481069 (diff) |
ACPI: add ACPI debug attribute in sysfs
Add ACPI debug attributes in sysfs.
/proc/acpi/debug_layer && debug_level are deprecated by
/sys/module/acpi/parameters/debug_layer && debug_level.
NOTE: The operations to them are quite the same.
E.g. if you want to enable ACPI_DB_INFO, ACPI_DB_WARN,
ACPI_DB_ERROR and disable the others,
#echo 0x13 >/sys/module/acpi/parameters/debug_level is OK,
and a boot option "acpi.debug_level = 0x13" also works.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/Kconfig')
-rw-r--r-- | drivers/acpi/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 1f82ceba4646..a3a10737d72f 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
@@ -86,6 +86,8 @@ config ACPI_PROCFS | |||
86 | As the same functions are duplicated in sysfs interface | 86 | As the same functions are duplicated in sysfs interface |
87 | and this proc interface will be removed some time later, | 87 | and this proc interface will be removed some time later, |
88 | it's marked as deprecated. | 88 | it's marked as deprecated. |
89 | ( /proc/acpi/debug_layer && debug_level are deprecated by | ||
90 | /sys/module/acpi/parameters/debug_layer && debug_level. ) | ||
89 | 91 | ||
90 | config ACPI_AC | 92 | config ACPI_AC |
91 | tristate "AC Adapter" | 93 | tristate "AC Adapter" |