diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2007-06-03 04:30:32 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2007-06-03 04:30:32 +0000 |
commit | 8b8cbd8976e5364656a6d2b6ae64b98da6d6d93e (patch) | |
tree | 346e29733798a30d652211422ab5396a44d0607f /sys/arch | |
parent | 13a4055e8b5b18901b66d07b639b0e08636d6f1c (diff) |
Add a check for Intel Core processors with Scalable Bus Speed of 200 MHz.
From NetBSD and verified in Intel doc #253669
ok tedu@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/est.c | 5 | ||||
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/est.c b/sys/arch/amd64/amd64/est.c index 14ad1eb1ad4..4ed0ffaf1fc 100644 --- a/sys/arch/amd64/amd64/est.c +++ b/sys/arch/amd64/amd64/est.c @@ -1,4 +1,4 @@ -/* $OpenBSD: est.c,v 1.2 2007/06/01 22:28:21 tedu Exp $ */ +/* $OpenBSD: est.c,v 1.3 2007/06/03 04:30:31 jsg Exp $ */ /* * Copyright (c) 2003 Michael Eriksson. * All rights reserved. @@ -169,6 +169,9 @@ p3_get_bus_clock(struct cpu_info *ci) case 3: bus_clock = 16666; break; + case 2: + bus_clock = 20000; + break; case 0: bus_clock = 26666; break; diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 75a4c3bc0ac..b6a9942d1e0 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.398 2007/05/29 21:01:56 tedu Exp $ */ +/* $OpenBSD: machdep.c,v 1.399 2007/06/03 04:30:31 jsg Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -2006,6 +2006,9 @@ p3_get_bus_clock(struct cpu_info *ci) case 3: bus_clock = 16666; break; + case 2: + bus_clock = 20000; + break; case 0: bus_clock = 26666; break; |