In message: <[EMAIL PROTECTED]>
            Poul-Henning Kamp <[EMAIL PROTECTED]> writes:
: 
: I think I found a mistake I made, can you try this patch please ?
: 
: Index: kern_tc.c
: ===================================================================
: RCS file: /home/ncvs/src/sys/kern/kern_tc.c,v
: retrieving revision 1.117
: diff -u -r1.117 kern_tc.c
: --- kern_tc.c 19 Mar 2002 21:24:06 -0000      1.117
: +++ kern_tc.c 28 Mar 2002 12:00:13 -0000
: @@ -241,7 +241,7 @@
:        * The range is +/- 500PPM so we can multiply by about 8500
:        * without overflowing.  4398/1024 = is very close to ideal.
:        */
: -     scale += (tc->tc_adjustment * 4398) >> 10;
: +     scale += (tc->tc_adjustment * 4398) >> 11;
:       scale /= tc->tc_tweak->tc_frequency;
:       tc->tc_scale = scale * 2;
:  }

This patch is broken because it doesn't fix the comment, which should
read
        ... 4398 / 2048 is very close to ideal.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to