diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-03-01 22:07:13 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-03-01 22:07:13 +0000 |
commit | 54104602f8b3490ee2579217c80a664695b3b4f1 (patch) | |
tree | 77ef90fddd0c3edb859d58fc9a6857a9bf7f0612 /sys | |
parent | d71f35ad6db6f6bb2276847432eb227926b84e39 (diff) |
Tweak pccspeed() to not report 33MHz boards as 50MHz (until better code is
used there).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mvme68k/dev/pcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/dev/pcc.c b/sys/arch/mvme68k/dev/pcc.c index 523665adb10..5158ec5f051 100644 --- a/sys/arch/mvme68k/dev/pcc.c +++ b/sys/arch/mvme68k/dev/pcc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcc.c,v 1.16 2009/02/17 22:28:40 miod Exp $ */ +/* $OpenBSD: pcc.c,v 1.17 2009/03/01 22:07:12 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -227,7 +227,7 @@ pccspeed(pcc) * memory board effects and such, it is rather unlikely that * we will find a nice formula. */ - if (cnt > 230000) + if (cnt > 280000) speed = 50; else if (cnt > 210000) speed = 33; |