summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpibat.c
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-02-21 01:12:41 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-02-21 01:12:41 +0000
commit674c8684c84d381edd82ec2a5944ee60c320de81 (patch)
tree715804f00f155eadc77fe29818bc74befc91904e /sys/dev/acpi/acpibat.c
parent6bade0d617d4e4948b97c0e0effe7feef5096b87 (diff)
Adjust debugging levels to something more reasonable.
Diffstat (limited to 'sys/dev/acpi/acpibat.c')
-rw-r--r--sys/dev/acpi/acpibat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/acpi/acpibat.c b/sys/dev/acpi/acpibat.c
index 109b009aaf8..93a4d8e130d 100644
--- a/sys/dev/acpi/acpibat.c
+++ b/sys/dev/acpi/acpibat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpibat.c,v 1.15 2006/02/17 07:25:51 marco Exp $ */
+/* $OpenBSD: acpibat.c,v 1.16 2006/02/21 01:12:40 marco Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
@@ -199,7 +199,7 @@ acpibat_getbif(struct acpibat_softc *sc)
}
if (aml_eval_name(sc->sc_acpi, sc->sc_devnode, "_BIF", &res, &env)) {
- dnprintf(50, "%s: no _BIF\n",
+ dnprintf(10, "%s: no _BIF\n",
DEVNAME(sc));
return (1);
}
@@ -224,7 +224,7 @@ acpibat_getbif(struct acpibat_softc *sc)
sc->sc_bif.bif_type = aml_strval(res.v_package[11]);
sc->sc_bif.bif_oem = aml_strval(res.v_package[12]);
- dnprintf(10, "power_unit: %u capacity: %u last_cap: %u tech: %u "
+ dnprintf(60, "power_unit: %u capacity: %u last_cap: %u tech: %u "
"volt: %u warn: %u low: %u gran1: %u gran2: %d model: %s "
"serial: %s type: %s oem: %s\n",
sc->sc_bif.bif_power_unit,
@@ -255,7 +255,7 @@ acpibat_getbst(struct acpibat_softc *sc)
ctx = NULL;
if (aml_eval_name(sc->sc_acpi, sc->sc_devnode, "_BST", &res, &env)) {
- dnprintf(50, "%s: no _BST\n",
+ dnprintf(10, "%s: no _BST\n",
DEVNAME(sc));
return (1);
}
@@ -271,7 +271,7 @@ acpibat_getbst(struct acpibat_softc *sc)
sc->sc_bst.bst_capacity = aml_val2int(ctx, res.v_package[2]);
sc->sc_bst.bst_voltage = aml_val2int(ctx, res.v_package[3]);
- dnprintf(10, "state: %u rate: %u cap: %u volt: %u ",
+ dnprintf(60, "state: %u rate: %u cap: %u volt: %u ",
sc->sc_bst.bst_state,
sc->sc_bst.bst_rate,
sc->sc_bst.bst_capacity,