diff options
author | Bernhard Kohl <bernhard.kohl@nsn.com> | 2010-12-08 15:59:55 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-12-11 18:36:31 +0000 |
commit | fa82e9c300df6f7b8bd44a26ac752c4ea5da02c1 (patch) | |
tree | bc9655e214243dc745d915521d19d54e183a5f53 /monitor.c | |
parent | 74782223de16e30940630b2bdb488e650ece6cd4 (diff) |
wdt_i6300esb: register a reset function
The device shall set its default hardware state after each reset.
This includes that the timer is stopped which is especially important
if the guest does a reboot independantly of a watchdog bite. I moved
the initialization of the state variables completely from the init
to the reset function which is called right after init during the
first boot and afterwards during each reboot.
Signed-off-by: Bernhard Kohl <bernhard.kohl@nsn.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'monitor.c')
0 files changed, 0 insertions, 0 deletions