diff options
author | 2009-03-01 22:07:12 +0000 | |
---|---|---|
committer | 2009-03-01 22:07:12 +0000 | |
commit | 9965ffaf39a25f5f2b97e5a8ef7ae0087e740f24 (patch) | |
tree | 73c972e2f1f417627e5cd0c24a32126ee06aadee | |
parent | - Refuse delivery to mbox that is a symlink, pipe, chardev, etc. etc. (diff) | |
download | wireguard-openbsd-9965ffaf39a25f5f2b97e5a8ef7ae0087e740f24.tar.xz wireguard-openbsd-9965ffaf39a25f5f2b97e5a8ef7ae0087e740f24.zip |
Tweak pccspeed() to not report 33MHz boards as 50MHz (until better code is
used there).
-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; |