diff options
author | ian <ian@FreeBSD.org> | 2015-08-23 20:16:13 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2015-08-23 20:16:13 +0000 |
commit | d958a69ae31c2077009bd7d87b6d35829ac64f27 (patch) | |
tree | e79f361a8427f802be4070c71b25fa51fd4a8294 /usr.sbin/watchdogd/watchdogd.c | |
parent | 8cf9fedbf651f151cb25af637e612be5b827d962 (diff) | |
download | FreeBSD-src-d958a69ae31c2077009bd7d87b6d35829ac64f27.zip FreeBSD-src-d958a69ae31c2077009bd7d87b6d35829ac64f27.tar.gz |
MFC r286942, r286943, r286944: imx watchdog fixes...
Add compatible strings for all the hardware this driver works with.
Also, move the READ/WRITE bus space access macros from the header into the
source file, and rename them to RD2/WR2 to make it clear they're 16-bit
accessors. (READ/WRITE just don't seem like good names to be in a public
header file.)
Make the imx watchdog actually work, by setting WDOG_CR_WDE (enable bit).
Also, follow the rules from watchdog(9) about what values to return in
various situations (especially, don't touch *error when asked to set a
non-zero timeout that isn't achievable on the hardware).
Enable the watchdog driver on imx6, now that it works.
Diffstat (limited to 'usr.sbin/watchdogd/watchdogd.c')
0 files changed, 0 insertions, 0 deletions