patch-2.2.19 linux/include/linux/watchdog.h
Next file: linux/include/linux/wireless.h
Previous file: linux/include/linux/wait.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Mar 25 11:37:40 2001
- Orig file:
v2.2.18/include/linux/watchdog.h
- Orig date:
Sun Mar 25 11:12:37 2001
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/include/linux/watchdog.h linux/include/linux/watchdog.h
@@ -6,14 +6,17 @@
*
*/
+#ifndef _LINUX_WATCHDOG_H
+#define _LINUX_WATCHDOG_H
+
#include <linux/ioctl.h>
#define WATCHDOG_IOCTL_BASE 'W'
struct watchdog_info {
- u32 options; /* Options the card/driver supports */
- u32 firmware_version; /* Firmware version of the card */
- u8 identity[32]; /* Identity of the board */
+ __u32 options; /* Options the card/driver supports */
+ __u32 firmware_version; /* Firmware version of the card */
+ __u8 identity[32]; /* Identity of the board */
};
#define WDIOC_GETSUPPORT _IOR(WATCHDOG_IOCTL_BASE, 0, struct watchdog_info)
@@ -38,3 +41,5 @@
#define WDIOS_DISABLECARD 0x0001 /* Turn off the watchdog timer */
#define WDIOS_ENABLECARD 0x0002 /* Turn on the watchdog timer */
#define WDIOS_TEMPPANIC 0x0004 /* Kernel panic on temperature trip */
+
+#endif /* ifndef _LINUX_WATCHDOG_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)