Index: acpi.c =================================================================== --- acpi.c (revision 185942) +++ acpi.c (working copy) @@ -991,8 +991,12 @@ /* Must have an "at" for acpi or isa. */ resource_string_value(name, unit, "at", &s); if (!(strcmp(s, "acpi0") == 0 || strcmp(s, "acpi") == 0 || - strcmp(s, "isa0") == 0 || strcmp(s, "isa") == 0)) + strcmp(s, "isa0") == 0 || strcmp(s, "isa") == 0)) { + if (strstr(name, "atrtc")) { + printf("AT: %s\n", s); + } continue; + } /* * Check for matching resources. We must have at least one, @@ -1003,24 +1007,36 @@ */ matches = 0; if (resource_long_value(name, unit, "port", &value) == 0) { + if (strstr(name, "atrtc")) { + printf("PORT: %ld\n", value); + } if (acpi_match_resource_hint(child, SYS_RES_IOPORT, value)) matches++; else continue; } if (resource_long_value(name, unit, "maddr", &value) == 0) { + if (strstr(name, "atrtc")) { + printf("MADDR: %ld\n", value); + } if (acpi_match_resource_hint(child, SYS_RES_MEMORY, value)) matches++; else continue; } if (resource_long_value(name, unit, "irq", &value) == 0) { + if (strstr(name, "atrtc")) { + printf("IRQ: %ld\n", value); + } if (acpi_match_resource_hint(child, SYS_RES_IRQ, value)) matches++; else continue; } if (resource_long_value(name, unit, "drq", &value) == 0) { + if (strstr(name, "atrtc")) { + printf("DRQ: %ld\n", value); + } if (acpi_match_resource_hint(child, SYS_RES_DRQ, value)) matches++; else