Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi Fix previous.



details:   https://anonhg.NetBSD.org/src/rev/2adbc5969417
branches:  trunk
changeset: 760377:2adbc5969417
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Tue Jan 04 04:28:48 2011 +0000

description:
Fix previous.

diffstat:

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

diffs (27 lines):

diff -r f97435f43e6d -r 2adbc5969417 sys/dev/acpi/acpi_timer.c
--- a/sys/dev/acpi/acpi_timer.c Tue Jan 04 02:50:08 2011 +0000
+++ b/sys/dev/acpi/acpi_timer.c Tue Jan 04 04:28:48 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_timer.c,v 1.19 2011/01/02 05:48:55 jruoho Exp $ */
+/* $NetBSD: acpi_timer.c,v 1.20 2011/01/04 04:28:48 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2006 Matthias Drochner <drochner%NetBSD.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_timer.c,v 1.19 2011/01/02 05:48:55 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_timer.c,v 1.20 2011/01/04 04:28:48 jruoho Exp $");
 
 #include <sys/types.h>
 #include <sys/systm.h>
@@ -82,7 +82,7 @@
        aprint_debug_dev(sc->sc_dev, "%s %d-bit timer\n",
            acpi_timecounter.tc_name, bits);
 
-       if ((flags & ACPI_FADT_PLATFORM_CLOCK) != 0)
+       if ((flags & ACPI_FADT_PLATFORM_CLOCK) == 0)
                aprint_debug_dev(sc->sc_dev,
                    "warning: timer may be unreliable\n");
 



Home | Main Index | Thread Index | Old Index