Module Name: src
Committed By: jmcneill
Date: Mon Aug 8 11:27:44 UTC 2011
Modified Files:
src/sys/dev/acpi: acpi_timer.c
Log Message:
The absence of USE_PLATFORM_CLOCK does not imply that the PM Timer is
unreliable; in fact, the PM Timer has to be reliable by definition! Remove
the incorrect warning message that was added in r1.19
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/acpi/acpi_timer.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_timer.c
diff -u src/sys/dev/acpi/acpi_timer.c:1.20 src/sys/dev/acpi/acpi_timer.c:1.21
--- src/sys/dev/acpi/acpi_timer.c:1.20 Tue Jan 4 04:28:48 2011
+++ src/sys/dev/acpi/acpi_timer.c Mon Aug 8 11:27:44 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_timer.c,v 1.20 2011/01/04 04:28:48 jruoho Exp $ */
+/* $NetBSD: acpi_timer.c,v 1.21 2011/08/08 11:27:44 jmcneill Exp $ */
/*-
* Copyright (c) 2006 Matthias Drochner <[email protected]>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_timer.c,v 1.20 2011/01/04 04:28:48 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_timer.c,v 1.21 2011/08/08 11:27:44 jmcneill Exp $");
#include <sys/types.h>
#include <sys/systm.h>
@@ -55,7 +55,6 @@
int
acpitimer_init(struct acpi_softc *sc)
{
- const uint32_t flags = AcpiGbl_FADT.Flags;
ACPI_STATUS rv;
uint32_t bits;
int i, j;
@@ -82,10 +81,6 @@
aprint_debug_dev(sc->sc_dev, "%s %d-bit timer\n",
acpi_timecounter.tc_name, bits);
- if ((flags & ACPI_FADT_PLATFORM_CLOCK) == 0)
- aprint_debug_dev(sc->sc_dev,
- "warning: timer may be unreliable\n");
-
return 0;
}