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/mm.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/notifier.h>
#include <linux/reboot.h>
#include <linux/init.h>
#include <linux/uaccess.h>
#include <asm/sgi/mc.h>
Go to the source code of this file.
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | WATCHDOG_TIMEOUT 30 /* 30 sec default timeout */ |
Functions | |
module_param (nowayout, bool, 0) | |
MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")") | |
module_init (watchdog_init) | |
module_exit (watchdog_exit) | |
MODULE_AUTHOR ("Guido Guenther <[email protected]>") | |
MODULE_DESCRIPTION ("Hardware Watchdog Device for SGI IP22") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
MODULE_AUTHOR | ( | "Guido Guenther <[email protected]>" | ) |
module_exit | ( | watchdog_exit | ) |
module_init | ( | watchdog_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | nowayout | , |
bool | , | ||
0 | |||
) |
MODULE_PARM_DESC | ( | nowayout | , |
"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")" | |||
) |