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
This commit is contained in:
Ed Maste 2010-12-07 19:18:00 +00:00
parent 4a588c1ba7
commit 0c761ee78d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216266

View File

@ -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,