Module Name:    src
Committed By:   jruoho
Date:           Thu Oct 28 18:03:12 UTC 2010

Modified Files:
        src/sys/dev/acpi: acpi_acad.c

Log Message:
Be silent if we get a notification to tell us that we woke up the system.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/acpi/acpi_acad.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/acpi/acpi_acad.c
diff -u src/sys/dev/acpi/acpi_acad.c:1.46 src/sys/dev/acpi/acpi_acad.c:1.47
--- src/sys/dev/acpi/acpi_acad.c:1.46	Mon Oct 25 07:48:03 2010
+++ src/sys/dev/acpi/acpi_acad.c	Thu Oct 28 18:03:11 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: acpi_acad.c,v 1.46 2010/10/25 07:48:03 jruoho Exp $	*/
+/*	$NetBSD: acpi_acad.c,v 1.47 2010/10/28 18:03:11 jruoho Exp $	*/
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_acad.c,v 1.46 2010/10/25 07:48:03 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_acad.c,v 1.47 2010/10/28 18:03:11 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -255,8 +255,11 @@
 		(void)AcpiOsExecute(handler, acpiacad_get_status, dv);
 		break;
 
+	case ACPI_NOTIFY_DEVICE_WAKE:
+		break;
+
 	default:
-		aprint_error_dev(dv, "unknown notify 0x%02X\n", notify);
+		aprint_debug_dev(dv, "unknown notify 0x%02X\n", notify);
 	}
 }
 

Reply via email to