Date: Fri, 18 Dec 2009 12:10:42 +0000 (UTC) From: Ruslan Ermilov <ru@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ipmi ipmi.c Message-ID: <200912181211.nBICB0ex077456@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2009-12-18 12:10:42 UTC FreeBSD src repository Modified files: sys/dev/ipmi ipmi.c Log: SVN rev 200666 on 2009-12-18 12:10:42Z by ru - Fixed incorrect watchdog timeout setting: MSB of a 2-byte value is obtained by dividing it by 256, not by 2550; also, one second is 10^9 nanoseconds, not 1800000000 nanoseconds. - Due to rounding error, setting watchdog to a really small timeout (<1 sec) was turning the watchdog off. It should set the watchdog to a small timeout instead. - Implemented error checking in ipmi_wd_event(), as required by watchdog(9). PR: kern/130512 Submitted by: Dmitrij Tejblum - Additionally, check that the timeout value is within the supported range, and if it's too large, act as required by watchdog(9). MFC after: 3 days Revision Changes Path 1.13 +20 -9 src/sys/dev/ipmi/ipmi.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912181211.nBICB0ex077456>