summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/acpi/acpicpu.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/dev/acpi/acpicpu.c b/sys/dev/acpi/acpicpu.c
index 2c700b36370..21588e40fcc 100644
--- a/sys/dev/acpi/acpicpu.c
+++ b/sys/dev/acpi/acpicpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpicpu.c,v 1.6 2006/03/04 05:36:42 marco Exp $ */
+/* $OpenBSD: acpicpu.c,v 1.7 2006/03/04 18:24:34 marco Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
@@ -71,9 +71,6 @@ acpicpu_match(struct device *parent, void *match, void *aux)
struct acpi_attach_args *aa = aux;
struct cfdata *cf = match;
- printf("acpicpu_match: %s %s\n",
- aa->aaa_name, cf->cf_driver->cd_name);
-
/* sanity */
if (aa->aaa_name == NULL ||
strcmp(aa->aaa_name, cf->cf_driver->cd_name) != 0 ||
@@ -128,7 +125,6 @@ acpicpu_getpct(struct acpicpu_softc *sc)
{
struct aml_value res, env;
struct acpi_context *ctx;
- char pb[8];
memset(&res, 0, sizeof(res));
memset(&env, 0, sizeof(env));
@@ -177,7 +173,9 @@ acpicpu_getpct(struct acpicpu_softc *sc)
sc->sc_pct.pct_status.grd_gas.access_size,
sc->sc_pct.pct_status.grd_gas.address);
- acpi_debug = 111;
+#if 0
+ char pb[8];
+
acpi_gasio(sc->sc_acpi, ACPI_IOREAD,
sc->sc_pct.pct_ctrl.grd_gas.address_space_id,
sc->sc_pct.pct_ctrl.grd_gas.address,
@@ -202,7 +200,7 @@ acpicpu_getpct(struct acpicpu_softc *sc)
//sc->sc_pct.pct_ctrl.grd_gas.register_bit_width >> 3,
pb);
printf("acpicpu: %02x %02x %02x %02x\n", pb[0], pb[1], pb[2], pb[3]);
- acpi_debug = 21;
+#endif
return (0);
}