Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi acpiec(4): One more debug message about read/wr...



details:   https://anonhg.NetBSD.org/src/rev/3861c8ec6d3a
branches:  trunk
changeset: 377600:3861c8ec6d3a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Jul 18 10:17:12 2023 +0000

description:
acpiec(4): One more debug message about read/write polling timeout.

diffstat:

 sys/dev/acpi/acpi_ec.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 63b321f0e23a -r 3861c8ec6d3a sys/dev/acpi/acpi_ec.c
--- a/sys/dev/acpi/acpi_ec.c    Tue Jul 18 10:17:02 2023 +0000
+++ b/sys/dev/acpi/acpi_ec.c    Tue Jul 18 10:17:12 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_ec.c,v 1.107 2023/07/18 10:17:02 riastradh Exp $  */
+/*     $NetBSD: acpi_ec.c,v 1.108 2023/07/18 10:17:12 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -57,7 +57,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.107 2023/07/18 10:17:02 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.108 2023/07/18 10:17:12 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_acpi_ec.h"
@@ -688,6 +688,7 @@ acpiec_wait_timeout(struct acpiec_softc 
                delay(1);
        }
 
+       DPRINTF(ACPIEC_DEBUG_RW, sc, "SCI polling timeout\n");
        if (cold || acpiec_cold) {
                int timeo = 1000 * EC_CMD_TIMEOUT;
 



Home | Main Index | Thread Index | Old Index