+ modprobe sp5100_tco
rc=0
+ echo rc=0
+ lsmod
+ grep sp5100
sp5100_tco             20480  0
+ dmesg
+ grep -i sp5100
+ tail -5
[   85.993589] sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver
[   85.993780] sp5100-tco sp5100-tco: Using 0xfeb00000 for watchdog MMIO address
[   85.993918] sp5100-tco sp5100-tco: initialized. heartbeat=60 sec (nowayout=0)
== /sys/class/watchdog/watchdog0
+ for w in /sys/class/watchdog/watchdog*
+ echo '== /sys/class/watchdog/watchdog0'
+ for f in identity state timeout nowayout bootstatus status
++ cat /sys/class/watchdog/watchdog0/identity
identity=Software Watchdog
+ printf '%s=%s\n' identity 'Software Watchdog'
+ for f in identity state timeout nowayout bootstatus status
++ cat /sys/class/watchdog/watchdog0/state
state=active
+ printf '%s=%s\n' state active
+ for f in identity state timeout nowayout bootstatus status
++ cat /sys/class/watchdog/watchdog0/timeout
timeout=10
+ printf '%s=%s\n' timeout 10
+ for f in identity state timeout nowayout bootstatus status
++ cat /sys/class/watchdog/watchdog0/nowayout
nowayout=0
+ printf '%s=%s\n' nowayout 0
+ for f in identity state timeout nowayout bootstatus status
++ cat /sys/class/watchdog/watchdog0/bootstatus
bootstatus=0
+ printf '%s=%s\n' bootstatus 0
+ for f in identity state timeout nowayout bootstatus status
++ cat /sys/class/watchdog/watchdog0/status
status=0x8000
== /sys/class/watchdog/watchdog1
+ printf '%s=%s\n' status 0x8000
+ for w in /sys/class/watchdog/watchdog*
+ echo '== /sys/class/watchdog/watchdog1'
+ for f in identity state timeout nowayout bootstatus status
++ cat /sys/class/watchdog/watchdog1/identity
identity=SP5100 TCO timer
+ printf '%s=%s\n' identity 'SP5100 TCO timer'
+ for f in identity state timeout nowayout bootstatus status
++ cat /sys/class/watchdog/watchdog1/state
state=inactive
+ printf '%s=%s\n' state inactive
+ for f in identity state timeout nowayout bootstatus status
++ cat /sys/class/watchdog/watchdog1/timeout
timeout=60
+ printf '%s=%s\n' timeout 60
+ for f in identity state timeout nowayout bootstatus status
++ cat /sys/class/watchdog/watchdog1/nowayout
nowayout=0
+ printf '%s=%s\n' nowayout 0
+ for f in identity state timeout nowayout bootstatus status
++ cat /sys/class/watchdog/watchdog1/bootstatus
bootstatus=0
+ printf '%s=%s\n' bootstatus 0
+ for f in identity state timeout nowayout bootstatus status
++ cat /sys/class/watchdog/watchdog1/status
status=0x0
+ printf '%s=%s\n' status 0x0
+ rmmod sp5100_tco
rmmod_rc=0
+ echo rmmod_rc=0
+ lsmod
+ grep -c sp5100
0
+ ls /sys/class/watchdog/
watchdog0
