smsc37b787_wdt.c (94bd217e2d683719ab21a4ac117d8a1b91cbedc9) | smsc37b787_wdt.c (395cf9691d72173d8cdaa613c5f0255f993af94b) |
---|---|
1/* 2 * SMsC 37B787 Watchdog Timer driver for Linux 2.6.x.x 3 * 4 * Based on acquirewdt.c by Alan Cox <alan@lxorguk.ukuu.org.uk> 5 * and some other existing drivers 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 26 unchanged lines hidden (view full) --- 35 * If userspace fails (RAM error, kernel bug, whatever), the 36 * notifications cease to occur, and the hardware watchdog will 37 * reset the system (causing a reboot) after the timeout occurs. 38 * 39 * Create device with: 40 * mknod /dev/watchdog c 10 130 41 * 42 * For an example userspace keep-alive daemon, see: | 1/* 2 * SMsC 37B787 Watchdog Timer driver for Linux 2.6.x.x 3 * 4 * Based on acquirewdt.c by Alan Cox <alan@lxorguk.ukuu.org.uk> 5 * and some other existing drivers 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 26 unchanged lines hidden (view full) --- 35 * If userspace fails (RAM error, kernel bug, whatever), the 36 * notifications cease to occur, and the hardware watchdog will 37 * reset the system (causing a reboot) after the timeout occurs. 38 * 39 * Create device with: 40 * mknod /dev/watchdog c 10 130 41 * 42 * For an example userspace keep-alive daemon, see: |
43 * Documentation/watchdog/watchdog.txt | 43 * Documentation/watchdog/wdt.txt |
44 */ 45 46#include <linux/module.h> 47#include <linux/moduleparam.h> 48#include <linux/types.h> 49#include <linux/miscdevice.h> 50#include <linux/watchdog.h> 51#include <linux/delay.h> --- 576 unchanged lines hidden --- | 44 */ 45 46#include <linux/module.h> 47#include <linux/moduleparam.h> 48#include <linux/types.h> 49#include <linux/miscdevice.h> 50#include <linux/watchdog.h> 51#include <linux/delay.h> --- 576 unchanged lines hidden --- |