summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorGordon Willem Klok <gwk@cvs.openbsd.org>2006-06-15 02:53:16 +0000
committerGordon Willem Klok <gwk@cvs.openbsd.org>2006-06-15 02:53:16 +0000
commit8d5de93d3213aba7d0942ba2a1ac7229827b925b (patch)
tree1791ecc3fdfbcf3170a0d7feea6c8e2456b35663 /sys/arch/i386
parentd77c3d9be6acba4ecc0e82e25a928bd7e0be037a (diff)
In p3_get_bus_clock() don't fall through if we have in fact correctly
matched a model. Found in a dmesg from Craig Barraclough craigba AT creative.com.au. ok deraadt@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index fd66e414209..36eed9d35b1 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.359 2006/06/12 13:18:18 dim Exp $ */
+/* $OpenBSD: machdep.c,v 1.360 2006/06/15 02:53:15 gwk Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -2118,6 +2118,7 @@ p3_get_bus_clock(struct cpu_info *ci)
ci->ci_dev.dv_xname, bus);
break;
}
+ break;
default:
printf("%s: unknown i686 model %d, can't get bus clock\n",
ci->ci_dev.dv_xname, model);