summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-01-04 23:51:17 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-01-04 23:51:17 +0000
commit9f0537fa0cd9db724c5fcc0c00ab9b838338f920 (patch)
tree1550b58bdb0a50bfe3048a9920543cd70ae7f108 /sys
parent5c30e575b3bdddf4d3bd5789f7ef78031023fbae (diff)
Adjust timeout values. This was determined by using beck's ibm e325.
ok jordan
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ipmi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ipmi.c b/sys/dev/ipmi.c
index c603bc96f40..fc892942913 100644
--- a/sys/dev/ipmi.c
+++ b/sys/dev/ipmi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipmi.c,v 1.25 2005/12/16 03:16:47 marco Exp $ */
+/* $OpenBSD: ipmi.c,v 1.26 2006/01/04 23:51:16 marco Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave
@@ -319,7 +319,7 @@ bmc_io_wait_cold(struct ipmi_softc *sc, int offset, u_int8_t mask,
u_int8_t value, const char *lbl)
{
volatile u_int8_t v;
- int count = 1000;
+ int count = 100000;
while (count--) {
v = bmc_read(sc, offset);
@@ -1740,7 +1740,7 @@ ipmi_attach(struct device *parent, struct device *self, void *aux)
/* setup ticker */
sc->sc_retries = 0;
sc->sc_wakeup = 0;
- sc->sc_max_retries = 1000; /* XXX 50ms the right value? */
+ sc->sc_max_retries = 100000; /* XXX 5s the right value? */
timeout_set(&sc->sc_timeout, _bmc_io_wait, sc);
}