@@ -38,7 +38,7 @@ acpi-y += psargs.o psparse.o psloop.o pstree.o pswalk.o \
acpi-y += rsaddr.o rscreate.o rsinfo.o rsio.o rslist.o rsmisc.o rsxface.o \
rscalc.o rsirq.o rsmemory.o rsutils.o
-acpi-$(ACPI_FUTURE_USAGE) += rsdump.o
+acpi-$(CONFIG_ACPI_DEBUG) += rsdump.o
acpi-y += tbxface.o tbinstal.o tbutils.o tbfind.o tbfadt.o tbxfroot.o
@@ -48,7 +48,7 @@ extern const u8 acpi_gbl_resource_aml_sizes[];
/* Strings used by the disassembler and debugger resource dump routines */
-#if defined(ACPI_DISASSEMBLER) || defined (ACPI_DEBUGGER)
+#if defined(ACPI_DISASSEMBLER) || defined (ACPI_DEBUGGER) || defined (ACPI_DEBUG_OUTPUT)
extern const char *acpi_gbl_bm_decode[];
extern const char *acpi_gbl_config_decode[];
@@ -117,7 +117,6 @@ struct acpi_rsconvert_info *acpi_gbl_get_resource_dispatch[] = {
acpi_rs_convert_ext_address64 /* 0x0B, ACPI_RESOURCE_NAME_EXTENDED_ADDRESS64 */
};
-#ifdef ACPI_FUTURE_USAGE
#if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER)
/* Dispatch table for resource dump functions */
@@ -143,7 +142,6 @@ struct acpi_rsdump_info *acpi_gbl_dump_resource_dispatch[] = {
};
#endif
-#endif /* ACPI_FUTURE_USAGE */
/*
* Base sizes for external AML resource descriptors, indexed by internal type.
* Includes size of the descriptor header (1 byte for small descriptors,
@@ -531,6 +531,8 @@ acpi_walk_resources(acpi_handle device_handle,
resource_end =
ACPI_ADD_PTR(struct acpi_resource, buffer.pointer, buffer.length);
+ ACPI_DUMP_RESOURCE_LIST(resource);
+
/* Walk the resource list until the end_tag is found (or buffer end) */
while (resource < resource_end) {
@@ -47,7 +47,7 @@
#define _COMPONENT ACPI_UTILITIES
ACPI_MODULE_NAME("utresrc")
-#if defined(ACPI_DISASSEMBLER) || defined (ACPI_DEBUGGER)
+#if defined(ACPI_DISASSEMBLER) || defined (ACPI_DEBUGGER) || defined(ACPI_DEBUG_OUTPUT)
/*
* Strings used to decode resource descriptors.
* Used by both the disasssembler and the debugger resource dump routines