patch-2.4.0-test7 linux/Documentation/watchdog.txt

Next file: linux/MAINTAINERS
Previous file: linux/Documentation/usb/usb-serial.txt
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test6/linux/Documentation/watchdog.txt linux/Documentation/watchdog.txt
@@ -14,7 +14,7 @@
 	Berkshire Products PC Watchdog Revision A & C (by Ken Hollis)
 
 
-All five interfaces provide /dev/watchdog, which when open must be written
+All six interfaces provide /dev/watchdog, which when open must be written
 to within a timeout or the machine will reboot. Each write delays the reboot
 time another timeout. In the case of the software watchdog the ability to 
 reboot will depend on the state of the machines and interrupts. The hardware
@@ -35,17 +35,27 @@
 The wdt card cannot be safely probed for. Instead you need to pass
 wdt=ioaddr,irq as a boot parameter - eg "wdt=0x240,11".
 
+The i810 TCO watchdog modules can be configured with the "i810_margin"
+commandline argument which specifies the counter initial value. The counter
+is decremented every 0.6 seconds and default to 50 (30 seconds). Values can
+range between 3 and 63.
+
+The i810 TCO watchdog driver also implements the WDIOC_GETSTATUS and
+WDIOC_GETBOOTSTATUS ioctl()s. WDIOC_GETSTATUS returns the actual counter value
+and WDIOC_GETBOOTSTATUS returns the value of TCO2 Status Register (see Intel's
+documentation for the 82801AA and 82801AB datasheet). 
+
 Features
 --------
-		WDT501P		WDT500P		Software	Berkshire
-Reboot Timer	   X               X                X		    X
-External Reboot	   X	           X                o		    o
-I/O Port Monitor   o		   o		    o		    X
-Temperature	   X		   o		    o               X
-Fan Speed          X		   o		    o               o
-Power Under	   X               o                o               o
-Power Over         X               o                o               o
-Overheat           X               o                o               o
+		WDT501P		WDT500P		Software	Berkshire	i810 TCO
+Reboot Timer	   X               X                X		    X               X
+External Reboot	   X	           X                o		    o               o
+I/O Port Monitor   o		   o		    o		    X               o
+Temperature	   X		   o		    o               X               o
+Fan Speed          X		   o		    o               o               o
+Power Under	   X               o                o               o               o
+Power Over         X               o                o               o               o
+Overheat           X               o                o               o               o
 
 The external event interfaces on the WDT boards are not currently supported.
 Minor numbers are however allocated for it.
@@ -69,6 +79,7 @@
 	while(1)
 	{
 		write(fd,"\0",1);
+		fsync(fd);
 		sleep(10);
 	}
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)