Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi Be silent if we get a notification to tell us t...



details:   https://anonhg.NetBSD.org/src/rev/01ce0ea102b1
branches:  trunk
changeset: 758250:01ce0ea102b1
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Thu Oct 28 18:03:11 2010 +0000

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

diffstat:

 sys/dev/acpi/acpi_acad.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 929fa3defa93 -r 01ce0ea102b1 sys/dev/acpi/acpi_acad.c
--- a/sys/dev/acpi/acpi_acad.c  Thu Oct 28 15:55:04 2010 +0000
+++ b/sys/dev/acpi/acpi_acad.c  Thu Oct 28 18:03:11 2010 +0000
@@ -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);
        }
 }
 



Home | Main Index | Thread Index | Old Index