Date: Thu, 05 Feb 2026 03:01:08 +0000 From: Enji Cooper <ngie@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 9c666de5b339 - main - Make message added for Darwin OSI quirk more terse Message-ID: <698407f4.41c09.63400b0f@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=9c666de5b339d3c8f9bf3963691e4310e7d159cb commit 9c666de5b339d3c8f9bf3963691e4310e7d159cb Author: Enji Cooper <ngie@FreeBSD.org> AuthorDate: 2026-02-05 02:57:22 +0000 Commit: Enji Cooper <ngie@FreeBSD.org> CommitDate: 2026-02-05 02:57:22 +0000 Make message added for Darwin OSI quirk more terse The verbose message was way too verbose. Make it terse. MFC after: 1 week MFC with: 052a791b00 ("acpi: add Darwin OSI quirk for Apple Mac hardware") Requested by: kib --- sys/dev/acpica/acpi.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index 58ddb0a83922..ac02e1a349d3 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -4951,22 +4951,20 @@ acpi_reset_interfaces(device_t dev) /* Disable all other OSI vendor strings. */ status = AcpiUpdateInterfaces( ACPI_DISABLE_ALL_VENDOR_STRINGS); - /* Install Darwin */ if (ACPI_SUCCESS(status)) { + /* Install Darwin OSI */ status = AcpiInstallInterface("Darwin"); } if (bootverbose) { if (ACPI_SUCCESS(status)) { device_printf(dev, - "Apple hardware: installed Darwin " - "OSI and removed other vendor OSI " - "(Windows, etc)\n"); + "disabled non-Darwin OSI & " + "installed Darwin OSI\n"); } else { device_printf(dev, - "Apple hardware: failed to install " - "Darwin OSI: %s\n", - AcpiFormatException( - status)); + "could not install " + "Darwin OSI: %s\n" + AcpiFormatException(status)); } } } else if (bootverbose) {home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?698407f4.41c09.63400b0f>
