]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r336070, r336072-r336073, r336076
authorian <ian@FreeBSD.org>
Mon, 22 Apr 2019 04:15:22 +0000 (04:15 +0000)
committerian <ian@FreeBSD.org>
Mon, 22 Apr 2019 04:15:22 +0000 (04:15 +0000)
commit10e7798be762cf09eabe87d329658403f44ab714
tree7af252b9cbe63ef525ac74a912ae45724de0d9a6
parentfc7cb451ecd92e03ef2132b335823ec096766a57
MFC r336070, r336072-r336073, r336076

r336070:
Add pnp info and a module makefile for the imx_wdog watchdog driver.

r336072:
Correctly calculate the value to put in the imx wdog countdown register.

The correct value is seconds*2-1.  The code was using just seconds*2, which
led to being off by a half-second -- usually not a big deal, except when the
value was the max (128) it overflowed so zero would get written to the
countdown register, which equates to a timeout of a half second.

r336073:
Add support to the imx watchdog for the FDT "timeout-sec" property, by
automatically initializing the watchdog using the given value.  Also,
attach at BUS_PASS_TIMER to extend watchdog protection to more of the
kernel init process.

r336076:
Add a manpage for the imx5/6 watchdog driver.
share/man/man4/man4.arm/Makefile
share/man/man4/man4.arm/imx_wdog.4 [new file with mode: 0644]
sys/arm/freescale/imx/imx_wdog.c
sys/modules/imx/Makefile
sys/modules/imx/imx_wdog/Makefile [new file with mode: 0644]