From f504b6074bdbaa818d83ebbacbdf92ecacecd04f Mon Sep 17 00:00:00 2001 From: Nate Lawson Date: Mon, 14 Jun 2004 03:52:19 +0000 Subject: [PATCH] Don't probe/attach in the ACPI_DEBUG case. --- sys/dev/acpica/acpi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index ec7a24f134d..0342ab8731f 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -1239,10 +1239,9 @@ acpi_probe_child(ACPI_HANDLE handle, UINT32 level, void *context, void **status) */ acpi_parse_resources(child, handle, &acpi_res_parse_set, NULL); - /* If we're debugging, probe/attach now rather than later */ + /* If order was overridden, probe/attach now rather than later. */ if (probe_now) device_probe_and_attach(child); - ACPI_DEBUG_EXEC(device_probe_and_attach(child)); break; } }