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-11-16 21:47:12 +00:00
2009-10-11 01:51:35 +00:00
2009-05-13 22:31:25 +00:00
2009-10-28 15:22:58 +00:00
2009-09-14 21:33:00 +00:00
2009-11-18 18:48:18 +00:00
2009-11-11 20:29:40 +00:00
2009-12-01 22:23:15 +00:00
2009-10-30 18:30:13 +00:00
2009-11-25 13:31:17 +00:00
2009-06-24 20:43:51 +00:00
2009-06-21 19:17:22 +00:00
2009-12-16 12:25:27 +00:00
2009-12-14 18:43:27 +00:00
2009-10-24 09:55:11 +00:00
2009-04-14 11:23:09 +00:00
2009-11-02 18:15:11 +00:00
2009-06-14 00:15:26 +00:00
2009-09-06 10:27:45 +00:00
2009-05-25 22:50:11 +00:00
2009-08-23 08:04:40 +00:00
2009-12-11 00:38:13 +00:00
2009-12-18 00:36:30 +00:00