Re: Problem with kernel-pll in 2.0.3x (at least)

Ulrich Windl (ulrich.windl@rz.uni-regensburg.de)
Fri, 1 May 1998 02:22:38 +0200


On 1 May 98 at 0:10, J.S.Peatfield@damtp.cam.ac.uk wrote:

> ***************
> *** 93,99 ****
> #define FINEUSEC (1L << SHIFT_SCALE) /* 1 us in phase units */
>
> #define MAXPHASE 512000L /* max phase error (us) */
> ! #define MAXFREQ (200L << SHIFT_USEC) /* max frequency error (ppm) */
> #define MAXTIME (200L << PPS_AVG) /* max PPS error (jitter) (200 us) */
> #define MINSEC 16L /* min interval between updates (s) */
> #define MAXSEC 1200L /* max interval between updates (s) */
> --- 94,100 ----
> #define FINEUSEC (1L << SHIFT_SCALE) /* 1 us in phase units */
>
> #define MAXPHASE 512000L /* max phase error (us) */
> ! #define MAXFREQ ((HZ * 2L) << SHIFT_USEC) /* max frequency error (ppm) */

While working, you are saying: "the higher HZ, the more inaccurate
the clock". This is generally not true. Think of MS-DOS, where HZ =
18.2 ;-)

Ulrich

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu