Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi Remove printouts that mess with the autoconf(9).



details:   https://anonhg.NetBSD.org/src/rev/bc2245a28385
branches:  trunk
changeset: 766089:bc2245a28385
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Wed Jun 15 08:04:49 2011 +0000

description:
Remove printouts that mess with the autoconf(9).

diffstat:

 sys/dev/acpi/acpi_resource.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r dfc8be55f0f9 -r bc2245a28385 sys/dev/acpi/acpi_resource.c
--- a/sys/dev/acpi/acpi_resource.c      Wed Jun 15 07:58:03 2011 +0000
+++ b/sys/dev/acpi/acpi_resource.c      Wed Jun 15 08:04:49 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_resource.c,v 1.32 2010/03/05 14:00:17 jruoho Exp $        */
+/*     $NetBSD: acpi_resource.c,v 1.33 2011/06/15 08:04:49 jruoho Exp $        */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_resource.c,v 1.32 2010/03/05 14:00:17 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_resource.c,v 1.33 2011/06/15 08:04:49 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -647,10 +647,12 @@
 static void
 acpi_res_parse_fini(device_t dev, void *context)
 {
+#ifdef ACPI_DEBUG
        struct acpi_resources *res = context;
 
        /* Print the resources we're using. */
        acpi_resource_print(dev, res);
+#endif
 }
 
 static void



Home | Main Index | Thread Index | Old Index