summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authortaca <taca@NetBSD.org>2008-12-20 16:52:41 +0000
committertaca <taca@NetBSD.org>2008-12-20 16:52:41 +0000
commitf238b44a94e7ab2f48ec0a303d0bbbe1fb52f2ed (patch)
treea482a73be84e92f8dbb1d663d7db1057a3d29443 /sys
parentb7b48965cc17c735ee66327ac7534584fa62ccbc (diff)
Change max retry time to 90 seconds from 5 seconds.
It is processed in background to detect ipmi. Now my ML115 G1 detects ipmi as NetBSD 4_STABLE. Discussed with Matthias Scheler (tron) with private mail and approved by him.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/x86/x86/ipmi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/x86/x86/ipmi.c b/sys/arch/x86/x86/ipmi.c
index 4e44d27f58d..f7f66c59c2b 100644
--- a/sys/arch/x86/x86/ipmi.c
+++ b/sys/arch/x86/x86/ipmi.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ipmi.c,v 1.27 2008/12/15 12:13:46 tron Exp $ */
+/* $NetBSD: ipmi.c,v 1.28 2008/12/20 16:52:41 taca Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.27 2008/12/15 12:13:46 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.28 2008/12/20 16:52:41 taca Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -1754,7 +1754,7 @@ ipmi_attach2(device_t self)
/* setup ticker */
sc->sc_retries = 0;
sc->sc_wakeup = 0;
- sc->sc_max_retries = hz * 5; /* 5 seconds max */
+ sc->sc_max_retries = hz * 90; /* 90 seconds max */
callout_init(&sc->sc_callout, 0);
callout_setfunc(&sc->sc_callout, _bmc_io_wait, sc);