summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-05-29 14:50:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-05-29 14:50:27 +0000
commitb1759c6c01ff5ac81fc25cf978936cb197809ab8 (patch)
tree70bacb812215e8637e5d23d161847c2375ca5e74 /sys/arch/i386
parentb0f9e92d1951074bc0780e7a70b8b9de2d66bb6e (diff)
Use k1x cpu scaling on all families 0x10 and above (the trend is likely to
continue); makes the AMD E-350 speed adjust (from slow to way slower). discussion with jsg.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index 355dd681b59..94ed6a5197e 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.495 2011/05/23 09:54:20 claudio Exp $ */
+/* $OpenBSD: machdep.c,v 1.496 2011/05/29 14:50:26 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -1345,7 +1345,7 @@ amd_family6_setperf_setup(struct cpu_info *ci)
k8_powernow_init();
break;
}
- if (ci->ci_family == 0x10 || ci->ci_family == 0x11)
+ if (ci->ci_family >= 0x10)
k1x_init(ci);
}
#endif