Date: Mon, 7 May 2018 21:09:17 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333334 - head/sys/dev/acpica Message-ID: <201805072109.w47L9HoP019838@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Mon May 7 21:09:17 2018 New Revision: 333334 URL: https://svnweb.freebsd.org/changeset/base/333334 Log: Use device_quiet_children to silence verbose CPU probe messages. Have cpu0 be noisy, but all the other CPU devices be quiet on boot. Modified: head/sys/dev/acpica/acpi_cpu.c Modified: head/sys/dev/acpica/acpi_cpu.c ============================================================================== --- head/sys/dev/acpica/acpi_cpu.c Mon May 7 21:09:08 2018 (r333333) +++ head/sys/dev/acpica/acpi_cpu.c Mon May 7 21:09:17 2018 (r333334) @@ -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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805072109.w47L9HoP019838>