Ruslan Ermilov a46a1e767d - 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
2009-12-18 12:10:42 +00:00
..
2009-12-17 13:14:11 +00:00
2009-12-16 21:53:56 +00:00
2009-12-14 22:24:04 +00:00
2009-12-03 18:16:14 +00:00
2009-12-08 00:54:08 +00:00
2009-11-29 20:47:43 +00:00
2009-12-16 21:53:56 +00:00