patch-2.0.11 linux/include/linux/pcwd.h

Next file: linux/include/linux/posix_types.h
Previous file: linux/include/linux/netdevice.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.10/linux/include/linux/pcwd.h linux/include/linux/pcwd.h
@@ -0,0 +1,12 @@
+/*
+ * Berkshire PC Watchdog Defines
+ * For version 0.41 of the driver
+ */
+
+#define	PCWD_IOCTL_BASE	'W'
+
+#define	PCWD_GETSTAT	_IOR(PCWD_IOCTL_BASE, 1, int)
+#define	PCWD_PING	_IOR(PCWD_IOCTL_BASE, 2, int)
+
+#define	PCWD_PREVRESET	0x01	/* System previously reset by card */
+#define	PCWD_TEMPSENSE	0x02	/* Temperature overheat sense */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov