artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3a7b01
)
Print raw battery information if KB3310_DEBUG, not DEBUG. NFC
author
miod
<miod@openbsd.org>
Sun, 21 Jan 2024 07:17:06 +0000
(07:17 +0000)
committer
miod
<miod@openbsd.org>
Sun, 21 Jan 2024 07:17:06 +0000
(07:17 +0000)
sys/arch/loongson/dev/kb3310.c
patch
|
blob
|
history
diff --git
a/sys/arch/loongson/dev/kb3310.c
b/sys/arch/loongson/dev/kb3310.c
index
c7e1cc8
..
38c98a6
100644
(file)
--- a/
sys/arch/loongson/dev/kb3310.c
+++ b/
sys/arch/loongson/dev/kb3310.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kb3310.c,v 1.2
3 2017/01/23 10:54:51 fcambus Exp $
*/
+/* $OpenBSD: kb3310.c,v 1.2
4 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)
{