summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2011-01-27 21:27:45 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2011-01-27 21:27:45 +0000
commit443de5ee056ec38c000a0b9f35b7fb09c849cd96 (patch)
tree1900cbc3671063bdad3fb7a41ee05bf500a8087d /sys/arch/amd64
parent1db1d4f7a84c90e6f40862e92aba420b3f39e25d (diff)
Atom uses the same value for bus clock 200 MHz as Core, though
this is not documented by Intel. tested by henning on d525
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/est.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/est.c b/sys/arch/amd64/amd64/est.c
index 7ac4af733b7..818fda5cada 100644
--- a/sys/arch/amd64/amd64/est.c
+++ b/sys/arch/amd64/amd64/est.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: est.c,v 1.22 2010/12/29 18:10:17 kettenis Exp $ */
+/* $OpenBSD: est.c,v 1.23 2011/01/27 21:27:44 jsg Exp $ */
/*
* Copyright (c) 2003 Michael Eriksson.
* All rights reserved.
@@ -210,6 +210,9 @@ p3_get_bus_clock(struct cpu_info *ci)
case 3:
bus_clock = BUS166;
break;
+ case 2:
+ bus_clock = BUS200:
+ break;
default:
printf("%s: unknown Atom FSB_FREQ value %d",
ci->ci_dev->dv_xname, bus);