ACPI: add driver component definitions to sysfs debug_layers
/sys/module/acpi/parameters/debug_layers used to contain only the debug layers defined by the ACPI CA. This patch adds the additional layer definitions for ACPI drivers. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
44342f9e8d
commit
bdd7279919
|
@ -44,6 +44,21 @@ static const struct acpi_dlayer acpi_debug_layers[] = {
|
||||||
ACPI_DEBUG_INIT(ACPI_CA_DISASSEMBLER),
|
ACPI_DEBUG_INIT(ACPI_CA_DISASSEMBLER),
|
||||||
ACPI_DEBUG_INIT(ACPI_COMPILER),
|
ACPI_DEBUG_INIT(ACPI_COMPILER),
|
||||||
ACPI_DEBUG_INIT(ACPI_TOOLS),
|
ACPI_DEBUG_INIT(ACPI_TOOLS),
|
||||||
|
|
||||||
|
ACPI_DEBUG_INIT(ACPI_BUS_COMPONENT),
|
||||||
|
ACPI_DEBUG_INIT(ACPI_AC_COMPONENT),
|
||||||
|
ACPI_DEBUG_INIT(ACPI_BATTERY_COMPONENT),
|
||||||
|
ACPI_DEBUG_INIT(ACPI_BUTTON_COMPONENT),
|
||||||
|
ACPI_DEBUG_INIT(ACPI_SBS_COMPONENT),
|
||||||
|
ACPI_DEBUG_INIT(ACPI_FAN_COMPONENT),
|
||||||
|
ACPI_DEBUG_INIT(ACPI_PCI_COMPONENT),
|
||||||
|
ACPI_DEBUG_INIT(ACPI_POWER_COMPONENT),
|
||||||
|
ACPI_DEBUG_INIT(ACPI_CONTAINER_COMPONENT),
|
||||||
|
ACPI_DEBUG_INIT(ACPI_SYSTEM_COMPONENT),
|
||||||
|
ACPI_DEBUG_INIT(ACPI_THERMAL_COMPONENT),
|
||||||
|
ACPI_DEBUG_INIT(ACPI_MEMORY_DEVICE_COMPONENT),
|
||||||
|
ACPI_DEBUG_INIT(ACPI_VIDEO_COMPONENT),
|
||||||
|
ACPI_DEBUG_INIT(ACPI_PROCESSOR_COMPONENT),
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct acpi_dlevel acpi_debug_levels[] = {
|
static const struct acpi_dlevel acpi_debug_levels[] = {
|
||||||
|
|
|
@ -31,6 +31,10 @@
|
||||||
|
|
||||||
#define ACPI_MAX_STRING 80
|
#define ACPI_MAX_STRING 80
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Please update drivers/acpi/debug.c and Documentation/acpi/debug.txt
|
||||||
|
* if you add to this list.
|
||||||
|
*/
|
||||||
#define ACPI_BUS_COMPONENT 0x00010000
|
#define ACPI_BUS_COMPONENT 0x00010000
|
||||||
#define ACPI_AC_COMPONENT 0x00020000
|
#define ACPI_AC_COMPONENT 0x00020000
|
||||||
#define ACPI_BATTERY_COMPONENT 0x00040000
|
#define ACPI_BATTERY_COMPONENT 0x00040000
|
||||||
|
|
Loading…
Reference in New Issue