diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/timex.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/linux/timex.h b/include/linux/timex.h index 671609ee1a3d..ac808f13fa0e 100644 --- a/include/linux/timex.h +++ b/include/linux/timex.h | |||
@@ -69,10 +69,9 @@ | |||
69 | * zero to MAXTC, the PLL will converge in 15 minutes to 16 hours, | 69 | * zero to MAXTC, the PLL will converge in 15 minutes to 16 hours, |
70 | * respectively. | 70 | * respectively. |
71 | */ | 71 | */ |
72 | #define SHIFT_KG 6 /* phase factor (shift) */ | 72 | #define SHIFT_PLL 4 /* PLL frequency factor (shift) */ |
73 | #define SHIFT_KF 16 /* PLL frequency factor (shift) */ | 73 | #define SHIFT_FLL 2 /* FLL frequency factor (shift) */ |
74 | #define SHIFT_KH 2 /* FLL frequency factor (shift) */ | 74 | #define MAXTC 10 /* maximum time constant (shift) */ |
75 | #define MAXTC 6 /* maximum time constant (shift) */ | ||
76 | 75 | ||
77 | /* | 76 | /* |
78 | * The SHIFT_SCALE define establishes the decimal point of the time_phase | 77 | * The SHIFT_SCALE define establishes the decimal point of the time_phase |
@@ -97,8 +96,8 @@ | |||
97 | #define MAXPHASE 512000L /* max phase error (us) */ | 96 | #define MAXPHASE 512000L /* max phase error (us) */ |
98 | #define MAXFREQ (512L << SHIFT_USEC) /* max frequency error (ppm) */ | 97 | #define MAXFREQ (512L << SHIFT_USEC) /* max frequency error (ppm) */ |
99 | #define MAXFREQ_NSEC (512000L << SHIFT_NSEC) /* max frequency error (ppb) */ | 98 | #define MAXFREQ_NSEC (512000L << SHIFT_NSEC) /* max frequency error (ppb) */ |
100 | #define MINSEC 16L /* min interval between updates (s) */ | 99 | #define MINSEC 256 /* min interval between updates (s) */ |
101 | #define MAXSEC 1200L /* max interval between updates (s) */ | 100 | #define MAXSEC 2048 /* max interval between updates (s) */ |
102 | #define NTP_PHASE_LIMIT (MAXPHASE << 5) /* beyond max. dispersion */ | 101 | #define NTP_PHASE_LIMIT (MAXPHASE << 5) /* beyond max. dispersion */ |
103 | 102 | ||
104 | /* | 103 | /* |