diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2026-02-05 02:57:22 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2026-02-05 02:57:22 +0000 |
| commit | 9c666de5b339d3c8f9bf3963691e4310e7d159cb (patch) | |
| tree | 6cd2742dd1681013a25b64008526d65d548d61cc | |
| parent | 0f515c0a97489d8d35aca7f5e28c28b22f217dc9 (diff) | |
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
| -rw-r--r-- | sys/dev/acpica/acpi.c | 14 |
1 files 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) { |
