summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2010-12-07 19:18:00 +0000
committeremaste <emaste@FreeBSD.org>2010-12-07 19:18:00 +0000
commitffba45505b9102f1fc072ac9f76dfd17e2a0324c (patch)
treea67a0fe1d48edacc986c91e9047ab2814ffeac31
parent37fc67e5bad45bc2ccc28a4e5323143fdf61384a (diff)
downloadFreeBSD-src-ffba45505b9102f1fc072ac9f76dfd17e2a0324c.zip
FreeBSD-src-ffba45505b9102f1fc072ac9f76dfd17e2a0324c.tar.gz
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
-rw-r--r--sys/dev/ichwd/ichwd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ichwd/ichwd.c b/sys/dev/ichwd/ichwd.c
index 9ddec20..83ce5a7 100644
--- a/sys/dev/ichwd/ichwd.c
+++ b/sys/dev/ichwd/ichwd.c
@@ -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,
OpenPOWER on IntegriCloud