Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/sa11x0 Put a printf into OST_DEBUG.
details: https://anonhg.NetBSD.org/src/rev/7992d3921a1f
branches: trunk
changeset: 588814:7992d3921a1f
user: peter <peter%NetBSD.org@localhost>
date: Sat Mar 04 16:54:04 2006 +0000
description:
Put a printf into OST_DEBUG.
diffstat:
sys/arch/arm/sa11x0/sa11x0_ost.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 61860db9fb1f -r 7992d3921a1f sys/arch/arm/sa11x0/sa11x0_ost.c
--- a/sys/arch/arm/sa11x0/sa11x0_ost.c Sat Mar 04 16:51:56 2006 +0000
+++ b/sys/arch/arm/sa11x0/sa11x0_ost.c Sat Mar 04 16:54:04 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sa11x0_ost.c,v 1.13 2005/12/11 12:16:51 christos Exp $ */
+/* $NetBSD: sa11x0_ost.c,v 1.14 2006/03/04 16:54:04 peter Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sa11x0_ost.c,v 1.13 2005/12/11 12:16:51 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sa11x0_ost.c,v 1.14 2006/03/04 16:54:04 peter Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -235,7 +235,9 @@
profhz = stathz;
saost_sc->sc_statclock_step = TIMER_FREQUENCY / stathz;
+#ifdef OST_DEBUG
printf("clock: hz=%d stathz = %d\n", hz, stathz);
+#endif
/* Use the channels 0 and 1 for hardclock and statclock, respectively */
saost_sc->sc_clock_count = TIMER_FREQUENCY / hz;
Home |
Main Index |
Thread Index |
Old Index