mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
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
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue