ACPI: add ACPI debug attribute in sysfs
authorZhang Rui <rui.zhang@intel.com>
Mon, 29 Jan 2007 03:02:38 +0000 (11:02 +0800)
committerLen Brown <len.brown@intel.com>
Mon, 29 Jan 2007 03:33:36 +0000 (22:33 -0500)
commit219c3c8e268b9307eae9fae4c765a0c589b98338
tree1cec78888ba858373ca72247bf68710827eb68e0
parentb981c591891dc8885de36498d38fa8d8a5481069
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>
drivers/acpi/Kconfig
drivers/acpi/debug.c