Use device_quiet_children to silence verbose CPU probe messages.
Have cpu0 be noisy, but all the other CPU devices be quiet on boot.
This commit is contained in:
parent
ad7142757b
commit
43d9cb5b74
@ -308,6 +308,11 @@ acpi_cpu_probe(device_t dev)
|
||||
acpi_set_private(dev, (void*)(intptr_t)cpu_id);
|
||||
device_set_desc(dev, "ACPI CPU");
|
||||
|
||||
if (!bootverbose && device_get_unit(dev) != 0) {
|
||||
device_quiet(dev);
|
||||
device_quiet_children(dev);
|
||||
}
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user