diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index e5c1194155e7..325d2618e0cc 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -790,7 +790,7 @@ acpi_probe_child(ACPI_HANDLE handle, UINT32 level, void *context, void **status) * leave it disabled (so that we have a device_t attached to * the handle, but we don't probe it). */ - if (!acpi_DeviceIsPresent(child)) { + if ((type == ACPI_TYPE_DEVICE) && (!acpi_DeviceIsPresent(child))) { device_disable(child); break; }