diff --git a/sys/dev/ofw/ofw_cpu.c b/sys/dev/ofw/ofw_cpu.c --- a/sys/dev/ofw/ofw_cpu.c +++ b/sys/dev/ofw/ofw_cpu.c @@ -185,10 +185,14 @@ ofw_cpu_probe(device_t dev) { const char *type = ofw_bus_get_type(dev); + const char *status = ofw_bus_get_status(dev); if (type == NULL || strcmp(type, "cpu") != 0) return (ENXIO); + if (status != NULL && strcmp(status, "disabled") == 0) + return (ENXIO); + device_set_desc(dev, "Open Firmware CPU"); if (!bootverbose && device_get_unit(dev) != 0) { device_quiet(dev);