summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-02-19 21:38:45 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-02-19 21:38:45 +0000
commit569a2f14457041577de9c433c213b905e4d1df7b (patch)
treec313b07a78f5d5176909c79024ef76f690bd7a7a /sys/arch
parentcba11930f1479033cbdbfa570fcd627f4b450f19 (diff)
millert@ suggested to use setperf=50 as a threshold for
the low perfomance state.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/pci/pcib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pcib.c b/sys/arch/i386/pci/pcib.c
index e7a96d1b9f8..39994a6558e 100644
--- a/sys/arch/i386/pci/pcib.c
+++ b/sys/arch/i386/pci/pcib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcib.c,v 1.11 2004/02/19 21:35:56 grange Exp $ */
+/* $OpenBSD: pcib.c,v 1.12 2004/02/19 21:38:44 grange Exp $ */
/* $NetBSD: pcib.c,v 1.6 1997/06/06 23:29:16 thorpej Exp $ */
/*-
@@ -249,7 +249,7 @@ ichss_setperf(int level)
ostate = state;
/* Only two states are available */
- if (level < 50)
+ if (level <= 50)
state |= ICH_PM_SS_STATE_LOW;
else
state &= ~ICH_PM_SS_STATE_LOW;