svn commit: r253812 - head/sys/dev/ipmi

Sean Bruno sbruno at FreeBSD.org
Tue Jul 30 18:44:30 UTC 2013


Author: sbruno
Date: Tue Jul 30 18:44:29 2013
New Revision: 253812
URL: http://svnweb.freebsd.org/changeset/base/253812

Log:
  empirical testing showed that 3 seconds is just too slow for GET_DEVICE_ID
  to return on newer Dell hardware.  Bump to 6 second timeouts until someone
  has a better idea on how to handle this
  
  Reviewed by:	jhb@
  MFC after:	2 weeks
  Sponsored by:	Yahoo! Inc.

Modified:
  head/sys/dev/ipmi/ipmivars.h

Modified: head/sys/dev/ipmi/ipmivars.h
==============================================================================
--- head/sys/dev/ipmi/ipmivars.h	Tue Jul 30 18:41:36 2013	(r253811)
+++ head/sys/dev/ipmi/ipmivars.h	Tue Jul 30 18:44:29 2013	(r253812)
@@ -219,7 +219,7 @@ struct ipmi_ipmb {
 	((sc)->ipmi_io_res[1] != NULL ? OUTB_MULTIPLE(sc, x, value) :	\
 	    OUTB_SINGLE(sc, x, value))
 
-#define MAX_TIMEOUT 3 * hz
+#define MAX_TIMEOUT 6 * hz
 
 int	ipmi_attach(device_t);
 int	ipmi_detach(device_t);


More information about the svn-src-all mailing list