Module Name:    src
Committed By:   skrll
Date:           Tue May 10 08:10:28 UTC 2022

Modified Files:
        src/sys/arch/arm/apple: apple_pmgr.c

Log Message:
Add aprints


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/apple/apple_pmgr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/apple/apple_pmgr.c
diff -u src/sys/arch/arm/apple/apple_pmgr.c:1.1 src/sys/arch/arm/apple/apple_pmgr.c:1.2
--- src/sys/arch/arm/apple/apple_pmgr.c:1.1	Wed Apr 27 07:55:42 2022
+++ src/sys/arch/arm/apple/apple_pmgr.c	Tue May 10 08:10:28 2022
@@ -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 @@ apple_pmgr_attach(device_t parent, devic
 		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" },

Reply via email to