summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2007-06-04 06:57:58 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2007-06-04 06:57:58 +0000
commit61444bc006f61186e1cf7f4d423ca470e08f176c (patch)
tree5bcc847da9932604a705ff8d97074d470952f0b2 /sys
parent59e10224d7303be1c798adfbcbf8ca85cedaa87f (diff)
Use 166.67 and 266.67 for bus_clock and not 166.66 and 266.66,
as per recommended values from Intel documentation. ok tedu@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/est.c6
-rw-r--r--sys/arch/i386/i386/machdep.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/amd64/amd64/est.c b/sys/arch/amd64/amd64/est.c
index 4ed0ffaf1fc..dacf99d7c84 100644
--- a/sys/arch/amd64/amd64/est.c
+++ b/sys/arch/amd64/amd64/est.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: est.c,v 1.3 2007/06/03 04:30:31 jsg Exp $ */
+/* $OpenBSD: est.c,v 1.4 2007/06/04 06:57:57 jsg Exp $ */
/*
* Copyright (c) 2003 Michael Eriksson.
* All rights reserved.
@@ -167,13 +167,13 @@ p3_get_bus_clock(struct cpu_info *ci)
bus_clock = 13333;
break;
case 3:
- bus_clock = 16666;
+ bus_clock = 16667;
break;
case 2:
bus_clock = 20000;
break;
case 0:
- bus_clock = 26666;
+ bus_clock = 26667;
break;
case 4:
bus_clock = 33333;
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index b6a9942d1e0..8d24c76d5a6 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.399 2007/06/03 04:30:31 jsg Exp $ */
+/* $OpenBSD: machdep.c,v 1.400 2007/06/04 06:57:56 jsg Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -2004,13 +2004,13 @@ p3_get_bus_clock(struct cpu_info *ci)
bus_clock = 13333;
break;
case 3:
- bus_clock = 16666;
+ bus_clock = 16667;
break;
case 2:
bus_clock = 20000;
break;
case 0:
- bus_clock = 26666;
+ bus_clock = 26667;
break;
case 4:
bus_clock = 33333;