]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Recognize kernel versions 2.[678]
authorrichard <richard>
Thu, 17 Jul 2003 21:22:23 +0000 (21:22 +0000)
committerRichard P. Curnow <rc@rc0.org.uk>
Thu, 19 Jan 2006 21:37:12 +0000 (21:37 +0000)
sys_linux.c

index 3daa2011e8865302f6c3650dd9c5480332797b2c..2cb02b8888af699b0fe6055810c65ce185d2fcc9 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  $Header: /cvs/src/chrony/sys_linux.c,v 1.41 2003/07/01 20:56:23 richard Exp $
+  $Header: /cvs/src/chrony/sys_linux.c,v 1.42 2003/07/17 21:22:23 richard Exp $
 
   =======================================================================
 
@@ -757,6 +757,11 @@ get_version_specific_details(void)
         case 3:
         case 4:
         case 5:
+        case 6:
+          /* Let's be optimistic that these will be the same until proven
+             otherwise :-) */
+        case 7:
+        case 8:
           /* These seem to be like 2.0.32 */
           freq_scale = (hz==100) ? (128.0 / 128.125) : basic_freq_scale;
           have_readonly_adjtime = 0;