|
Linux Kernel
3.7.1
|
#include <linux/device.h>#include <linux/fs.h>#include <linux/init.h>#include <linux/io.h>#include <linux/bitops.h>#include <linux/kernel.h>#include <linux/miscdevice.h>#include <linux/module.h>#include <linux/moduleparam.h>#include <linux/pci.h>#include <linux/pci_ids.h>#include <linux/types.h>#include <linux/uaccess.h>#include <linux/watchdog.h>#include <asm/nmi.h>Go to the source code of this file.
Macros | |
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| #define | HPWDT_VERSION "1.3.0" |
| #define | SECS_TO_TICKS(secs) ((secs) * 1000 / 128) |
| #define | TICKS_TO_SECS(ticks) ((ticks) * 128 / 1000) |
| #define | HPWDT_MAX_TIMER TICKS_TO_SECS(65535) |
| #define | DEFAULT_MARGIN 30 |
Functions | |
| MODULE_DEVICE_TABLE (pci, hpwdt_devices) | |
| MODULE_AUTHOR ("Tom Mingarelli") | |
| MODULE_DESCRIPTION ("hp watchdog driver") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_VERSION (HPWDT_VERSION) | |
| MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
| module_param (soft_margin, int, 0) | |
| MODULE_PARM_DESC (soft_margin,"Watchdog timeout in seconds") | |
| module_param (nowayout, bool, 0) | |
| MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")") | |
| module_pci_driver (hpwdt_driver) | |
| #define HPWDT_MAX_TIMER TICKS_TO_SECS(65535) |
| MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
| MODULE_AUTHOR | ( | "Tom Mingarelli" | ) |
| MODULE_DEVICE_TABLE | ( | pci | , |
| hpwdt_devices | |||
| ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_param | ( | soft_margin | , |
| int | , | ||
| 0 | |||
| ) |
| module_param | ( | nowayout | , |
| bool | , | ||
| 0 | |||
| ) |
| MODULE_PARM_DESC | ( | nowayout | , |
| "Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")" | |||
| ) |
| module_pci_driver | ( | hpwdt_driver | ) |
| MODULE_VERSION | ( | HPWDT_VERSION | ) |
1.8.2