summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2007-04-08 05:48:19 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2007-04-08 05:48:19 +0000
commit64ce8e48bd3c59453f5f7c1fcd4a380c59fa16d6 (patch)
tree2803fccff60757838f331039abf305ec10c9cedc /sys
parent147fdb9c3f11a026483b682975d44cef1ac63cd4 (diff)
x4100 machines need a hold off in between reads and write to the bmc
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ipmi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ipmi.c b/sys/dev/ipmi.c
index e4a0bb5c2e6..1f6fa4b72a0 100644
--- a/sys/dev/ipmi.c
+++ b/sys/dev/ipmi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipmi.c,v 1.53 2007/03/22 16:55:31 deraadt Exp $ */
+/* $OpenBSD: ipmi.c,v 1.54 2007/04/08 05:48:18 marco Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave
@@ -1062,6 +1062,8 @@ ipmi_recvcmd(struct ipmi_softc *sc, int maxlen, int *rxlen, void *data)
free(buf, M_DEVBUF);
+ ipmi_delay(sc, 5); /* give bmc chance to digest command */
+
return (rc);
}