Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2021 17:30:56 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e46427de625a - stable/13 - acpi: Make nexus_acpi quiet on amd64 and i386
Message-ID:  <202103121730.12CHUu9g051534@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=e46427de625a16001c2cc678f4f562e12c6b74bc

commit e46427de625a16001c2cc678f4f562e12c6b74bc
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-03-05 17:53:30 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-03-12 17:20:37 +0000

    acpi: Make nexus_acpi quiet on amd64 and i386
    
    Otherwise during attach newbus prints "nexus0", which is not very
    useful.
    
    The generic nexus device is already quiet, as is nexus_acpi on arm64.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 732b69c9f9c84408e7e680a93ab91ce76ffef2ce)
---
 sys/amd64/acpica/acpi_machdep.c | 2 +-
 sys/i386/acpica/acpi_machdep.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/amd64/acpica/acpi_machdep.c b/sys/amd64/acpica/acpi_machdep.c
index 60e470d14cbb..7d8b303f6f16 100644
--- a/sys/amd64/acpica/acpi_machdep.c
+++ b/sys/amd64/acpica/acpi_machdep.c
@@ -262,7 +262,7 @@ nexus_acpi_probe(device_t dev)
 	error = acpi_identify();
 	if (error)
 		return (error);
-
+	device_quiet(dev);
 	return (BUS_PROBE_DEFAULT);
 }
 
diff --git a/sys/i386/acpica/acpi_machdep.c b/sys/i386/acpica/acpi_machdep.c
index 63efe4f520fd..e8810ac88009 100644
--- a/sys/i386/acpica/acpi_machdep.c
+++ b/sys/i386/acpica/acpi_machdep.c
@@ -280,7 +280,7 @@ nexus_acpi_probe(device_t dev)
 	error = acpi_identify();
 	if (error)
 		return (error);
-
+	device_quiet(dev);
 	return (BUS_PROBE_DEFAULT);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103121730.12CHUu9g051534>