Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/hpcmips correct comment.
details: https://anonhg.NetBSD.org/src/rev/239122775ec6
branches: trunk
changeset: 498493:239122775ec6
user: sato <sato%NetBSD.org@localhost>
date: Fri Oct 27 08:08:08 2000 +0000
description:
correct comment.
diffstat:
sys/arch/hpcmips/hpcmips/clock.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 676d5e9208c5 -r 239122775ec6 sys/arch/hpcmips/hpcmips/clock.c
--- a/sys/arch/hpcmips/hpcmips/clock.c Fri Oct 27 08:04:49 2000 +0000
+++ b/sys/arch/hpcmips/hpcmips/clock.c Fri Oct 27 08:08:08 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clock.c,v 1.8 2000/06/04 19:14:42 cgd Exp $ */
+/* $NetBSD: clock.c,v 1.9 2000/10/27 08:08:08 sato Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -45,7 +45,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.8 2000/06/04 19:14:42 cgd Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.9 2000/10/27 08:08:08 sato Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -107,8 +107,8 @@
{
if (clockfns == NULL)
panic("cpu_initclocks: no clock attached");
-#ifndef TX39XX /* TX3912/22 periodic timer is not 256Hz */
- hz = CLOCK_RATE; /* 256 Hz clock */
+#ifndef TX39XX /* TX3912/22 periodic timer is not CLOCK_RATE, it is 100Hz */
+ hz = CLOCK_RATE; /* 128 Hz clock */
tick = 1000000 / hz; /* number of microseconds between interrupts */
tickfix = 1000000 - (hz * tick);
if (tickfix) {
Home |
Main Index |
Thread Index |
Old Index