diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2024-01-21 07:17:07 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2024-01-21 07:17:07 +0000 |
commit | 334e683730892312fd22925ad45f42b9a6204bb7 (patch) | |
tree | 20fe036d052356b88c26440f9e6a9af6f54b8f89 | |
parent | f105094beeff3fab8e7708cf15b458131a1bdd9a (diff) |
Print raw battery information if KB3310_DEBUG, not DEBUG. NFC
-rw-r--r-- | sys/arch/loongson/dev/kb3310.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/loongson/dev/kb3310.c b/sys/arch/loongson/dev/kb3310.c index c7e1cc813a6..38c98a65d01 100644 --- a/sys/arch/loongson/dev/kb3310.c +++ b/sys/arch/loongson/dev/kb3310.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kb3310.c,v 1.23 2017/01/23 10:54:51 fcambus Exp $ */ +/* $OpenBSD: kb3310.c,v 1.24 2024/01/21 07:17:06 miod Exp $ */ /* * Copyright (c) 2010 Otto Moerbeek <otto@drijf.net> * @@ -176,7 +176,7 @@ ykbec_attach(struct device *parent, struct device *self, void *aux) return; } -#ifdef DEBUG +#ifdef KB3310_DEBUG ykbec_print_bat_info(sc); #endif printf("\n"); @@ -318,7 +318,7 @@ ykbec_read16(struct ykbec_softc *mcsc, u_int reg) #define YKBEC_SCI_IRQ 0xa -#ifdef DEBUG +#ifdef KB3310_DEBUG void ykbec_print_bat_info(struct ykbec_softc *sc) { |