aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2021-03-05 17:53:30 +0000
committerMark Johnston <markj@FreeBSD.org>2021-03-05 17:54:00 +0000
commit732b69c9f9c84408e7e680a93ab91ce76ffef2ce (patch)
tree1ffe2de9af3dc0d7ceaedcfca492681bb336dc80
parent9a13d9dceee27fc1bf6fb7e58e83c88707665859 (diff)
downloadsrc-732b69c9f9c84408e7e680a93ab91ce76ffef2ce.tar.gz
src-732b69c9f9c84408e7e680a93ab91ce76ffef2ce.zip
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. MFC after: 1 week Sponsored by: The FreeBSD Foundation
-rw-r--r--sys/amd64/acpica/acpi_machdep.c2
-rw-r--r--sys/i386/acpica/acpi_machdep.c2
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);
}