Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/kern Pullup rev 1.92 (requested by tls in ticket #847)



details:   https://anonhg.NetBSD.org/src/rev/1b6ce8280020
branches:  netbsd-2-0
changeset: 562637:1b6ce8280020
user:      jmc <jmc%NetBSD.org@localhost>
date:      Thu Sep 16 03:23:27 2004 +0000

description:
Pullup rev 1.92 (requested by tls in ticket #847)

Add 50Hz support -- this will allow 'options NTP' to work on the Xen port,
once the Xen port's timer interrupts are made somewhat more sane

diffstat:

 sys/kern/kern_clock.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 9891db6fad72 -r 1b6ce8280020 sys/kern/kern_clock.c
--- a/sys/kern/kern_clock.c     Thu Sep 16 03:22:41 2004 +0000
+++ b/sys/kern/kern_clock.c     Thu Sep 16 03:23:27 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_clock.c,v 1.90 2004/02/13 11:36:22 wiz Exp $      */
+/*     $NetBSD: kern_clock.c,v 1.90.2.1 2004/09/16 03:23:27 jmc Exp $  */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_clock.c,v 1.90 2004/02/13 11:36:22 wiz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_clock.c,v 1.90.2.1 2004/09/16 03:23:27 jmc Exp $");
 
 #include "opt_ntp.h"
 #include "opt_multiprocessor.h"
@@ -397,6 +397,7 @@
        case 32:
                shifthz = SHIFT_SCALE - 5;
                break;
+       case 50:
        case 60:
        case 64:
                shifthz = SHIFT_SCALE - 6;
@@ -740,6 +741,7 @@
                        }
                        break;
 
+               case 50:
                case 100:
                        /* A factor of 1.010001111010111 gives about 1ppm
                           error. */



Home | Main Index | Thread Index | Old Index