Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi The absence of USE_PLATFORM_CLOCK does not impl...
details: https://anonhg.NetBSD.org/src/rev/b7ed4bd16f8e
branches: trunk
changeset: 768088:b7ed4bd16f8e
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Mon Aug 08 11:27:44 2011 +0000
description:
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
diffstat:
sys/dev/acpi/acpi_timer.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (37 lines):
diff -r 0f373ea9cc43 -r b7ed4bd16f8e sys/dev/acpi/acpi_timer.c
--- a/sys/dev/acpi/acpi_timer.c Mon Aug 08 11:18:34 2011 +0000
+++ b/sys/dev/acpi/acpi_timer.c Mon Aug 08 11:27:44 2011 +0000
@@ -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 <drochner%NetBSD.org@localhost>
@@ -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;
}
Home |
Main Index |
Thread Index |
Old Index