Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/apple Add aprints
details: https://anonhg.NetBSD.org/src/rev/4f22de378223
branches: trunk
changeset: 366025:4f22de378223
user: skrll <skrll%NetBSD.org@localhost>
date: Tue May 10 08:10:28 2022 +0000
description:
Add aprints
diffstat:
sys/arch/arm/apple/apple_pmgr.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r d3e70e86daf3 -r 4f22de378223 sys/arch/arm/apple/apple_pmgr.c
--- a/sys/arch/arm/apple/apple_pmgr.c Tue May 10 08:09:57 2022 +0000
+++ b/sys/arch/arm/apple/apple_pmgr.c Tue May 10 08:10:28 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: apple_pmgr.c,v 1.1 2022/04/27 07:55:42 skrll Exp $ */
+/* $NetBSD: apple_pmgr.c,v 1.2 2022/05/10 08:10:28 skrll Exp $ */
/*-
* Copyright (c) 2022 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: apple_pmgr.c,v 1.1 2022/04/27 07:55:42 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: apple_pmgr.c,v 1.2 2022/05/10 08:10:28 skrll Exp $");
#include <sys/param.h>
@@ -132,6 +132,9 @@
return;
}
+ aprint_naive("\n");
+ aprint_normal(": Apple PMGR\n");
+
for (int node = OF_child(phandle); node; node = OF_peer(node)) {
static const struct device_compatible_entry compat_ps[] = {
{ .compat = "apple,pmgr-pwrstate" },
Home |
Main Index |
Thread Index |
Old Index