Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Don't be DEBUG by default, but still be noisy a...
details: https://anonhg.NetBSD.org/src/rev/d023338a94ac
branches: trunk
changeset: 515590:d023338a94ac
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Sep 29 05:36:49 2001 +0000
description:
Don't be DEBUG by default, but still be noisy about lid status
changes until such time as we actually do something with them.
diffstat:
sys/dev/acpi/acpi_lid.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r e2b837c71baf -r d023338a94ac sys/dev/acpi/acpi_lid.c
--- a/sys/dev/acpi/acpi_lid.c Sat Sep 29 05:36:03 2001 +0000
+++ b/sys/dev/acpi/acpi_lid.c Sat Sep 29 05:36:49 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_lid.c,v 1.1 2001/09/28 02:30:13 thorpej Exp $ */
+/* $NetBSD: acpi_lid.c,v 1.2 2001/09/29 05:36:49 thorpej Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -47,8 +47,6 @@
#include <dev/acpi/acpireg.h>
#include <dev/acpi/acpivar.h>
-#define ACPI_LID_DEBUG
-
struct acpilid_softc {
struct device sc_dev; /* base device glue */
struct acpi_devnode *sc_node; /* our ACPI devnode */
@@ -110,10 +108,8 @@
return;
}
-#ifdef ACPI_LID_DEBUG
/* Display the current state when it changes. */
sc->sc_flags = ACPILID_F_VERBOSE;
-#endif
}
/*
Home |
Main Index |
Thread Index |
Old Index