summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrange <grange@openbsd.org>2004-02-19 21:38:44 +0000
committergrange <grange@openbsd.org>2004-02-19 21:38:44 +0000
commitaa9977b994551df921a89feece117d435cf19f74 (patch)
tree69d8b352c09ebbd9c6cc810a992caa60a2842ba7
parentMakes pfctl -ss and pfctl -sq use optional -i argument. (diff)
downloadwireguard-openbsd-aa9977b994551df921a89feece117d435cf19f74.tar.xz
wireguard-openbsd-aa9977b994551df921a89feece117d435cf19f74.zip
millert@ suggested to use setperf=50 as a threshold for
the low perfomance state.
-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;