Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2010 19:18:00 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216266 - head/sys/dev/ichwd
Message-ID:  <201012071918.oB7JI0lZ077674@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Dec  7 19:18:00 2010
New Revision: 216266
URL: http://svn.freebsd.org/changeset/base/216266

Log:
  Add a comment to clarify that some BIOSes may clear the hw watchdog
  indicator bit, preventing us from reporting in that case.
  
  X-MFC-with:	r215868

Modified:
  head/sys/dev/ichwd/ichwd.c

Modified: head/sys/dev/ichwd/ichwd.c
==============================================================================
--- head/sys/dev/ichwd/ichwd.c	Tue Dec  7 19:15:33 2010	(r216265)
+++ head/sys/dev/ichwd/ichwd.c	Tue Dec  7 19:18:00 2010	(r216266)
@@ -520,8 +520,9 @@ ichwd_attach(device_t dev)
 	    device_get_desc(dev), sc->ich_version);
 
 	/*
-	 * Determine if we are coming up after a watchdog-induced reset.
-	 * This bit is cleared in ichwd_sts_reset().
+	 * Determine if we are coming up after a watchdog-induced reset.  Some
+	 * BIOSes may clear this bit at bootup, preventing us from reporting
+	 * this case on such systems.  We clear this bit in ichwd_sts_reset().
 	 */
 	if ((ichwd_read_tco_2(sc, TCO2_STS) & TCO_SECOND_TO_STS) != 0)
 		device_printf(dev,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012071918.oB7JI0lZ077674>