summaryrefslogtreecommitdiffstats
path: root/include/linux/pcwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pcwd.h')
-rw-r--r--include/linux/pcwd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/pcwd.h b/include/linux/pcwd.h
new file mode 100644
index 000000000..6b77fdefa
--- /dev/null
+++ b/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 */