freebsd-skq/sys/dev/ipmi
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
..
ipmi_acpi.c Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
ipmi_isa.c
ipmi_kcs.c
ipmi_linux.c
ipmi_pci.c
ipmi_smbios.c
ipmi_smbus.c
ipmi_smic.c
ipmi_ssif.c
ipmi.c - Fixed incorrect watchdog timeout setting: MSB of a 2-byte 2009-12-18 12:10:42 +00:00
ipmivars.h