Skip to content

Commit

Permalink
acpi: Make nexus_acpi quiet on amd64 and i386
Browse files Browse the repository at this point in the history
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 732b69c)
  • Loading branch information
markjdb committed Mar 12, 2021
1 parent da55db3 commit e46427d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sys/amd64/acpica/acpi_machdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ nexus_acpi_probe(device_t dev)
error = acpi_identify();
if (error)
return (error);

device_quiet(dev);
return (BUS_PROBE_DEFAULT);
}

Expand Down
2 changes: 1 addition & 1 deletion sys/i386/acpica/acpi_machdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ nexus_acpi_probe(device_t dev)
error = acpi_identify();
if (error)
return (error);

device_quiet(dev);
return (BUS_PROBE_DEFAULT);
}

Expand Down

0 comments on commit e46427d

Please sign in to comment.