|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/moduleparam.h>#include <linux/types.h>#include <linux/kernel.h>#include <linux/fs.h>#include <linux/miscdevice.h>#include <linux/watchdog.h>#include <linux/init.h>#include <linux/bitops.h>#include <linux/uaccess.h>#include <mach/hardware.h>Go to the source code of this file.
Macros | |
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| #define | WDT_TICK_RATE (IXP4XX_PERIPHERAL_BUS_CLOCK * 1000000UL) |
| #define | WDT_IN_USE 0 |
| #define | WDT_OK_TO_CLOSE 1 |
Functions | |
| module_init (ixp4xx_wdt_init) | |
| module_exit (ixp4xx_wdt_exit) | |
| MODULE_AUTHOR ("Deepak Saxena <[email protected]>") | |
| MODULE_DESCRIPTION ("IXP4xx Network Processor Watchdog") | |
| module_param (heartbeat, int, 0) | |
| MODULE_PARM_DESC (heartbeat,"Watchdog heartbeat in seconds (default 60s)") | |
| module_param (nowayout, bool, 0) | |
| MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
Definition at line 16 of file ixp4xx_wdt.c.
| #define WDT_IN_USE 0 |
Definition at line 38 of file ixp4xx_wdt.c.
| #define WDT_OK_TO_CLOSE 1 |
Definition at line 39 of file ixp4xx_wdt.c.
| #define WDT_TICK_RATE (IXP4XX_PERIPHERAL_BUS_CLOCK * 1000000UL) |
Definition at line 36 of file ixp4xx_wdt.c.
| MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
| MODULE_AUTHOR | ( | "Deepak Saxena <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "IXP4xx Network Processor Watchdog" | ) |
| module_exit | ( | ixp4xx_wdt_exit | ) |
| module_init | ( | ixp4xx_wdt_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_param | ( | nowayout | , |
| bool | , | ||
| 0 | |||
| ) |
1.8.2