Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Fix boot messages
details: https://anonhg.NetBSD.org/src/rev/f96a56027b06
branches: trunk
changeset: 445286:f96a56027b06
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Oct 21 11:09:20 2018 +0000
description:
Fix boot messages
diffstat:
sys/dev/acpi/amdccp_acpi.c | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diffs (53 lines):
diff -r 0af694706442 -r f96a56027b06 sys/dev/acpi/amdccp_acpi.c
--- a/sys/dev/acpi/amdccp_acpi.c Sun Oct 21 11:05:24 2018 +0000
+++ b/sys/dev/acpi/amdccp_acpi.c Sun Oct 21 11:09:20 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amdccp_acpi.c,v 1.1 2018/10/19 21:09:10 jakllsch Exp $ */
+/* $NetBSD: amdccp_acpi.c,v 1.2 2018/10/21 11:09:20 jmcneill Exp $ */
/*
* Copyright (c) 2018 Jonathan A. Kollasch
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdccp_acpi.c,v 1.1 2018/10/19 21:09:10 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amdccp_acpi.c,v 1.2 2018/10/21 11:09:20 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -85,21 +85,21 @@
mem = acpi_res_mem(&res, 0);
if (mem == NULL) {
- aprint_error(": couldn't find mem resource\n");
+ aprint_error_dev(self, "couldn't find mem resource\n");
goto done;
}
#if notyet
irq = acpi_res_irq(&res, 0);
if (irq == NULL) {
- aprint_error(": couldn't find irq resource\n");
+ aprint_error_dev(self, "couldn't find irq resource\n");
goto done;
}
#endif
sc->sc_bst = aa->aa_memt;
if (bus_space_map(aa->aa_memt, mem->ar_base, mem->ar_length, 0, &sc->sc_bsh) != 0) {
- aprint_error(": couldn't map registers\n");
+ aprint_error_dev(self, "couldn't map registers\n");
goto done;
}
@@ -113,9 +113,6 @@
#endif
- aprint_naive("\n");
- aprint_normal(": AMD CCP\n");
-
amdccp_common_attach(sc);
done:
Home |
Main Index |
Thread Index |
Old Index