Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/types.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/notifier.h>
#include <linux/fs.h>
#include <linux/reboot.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/moduleparam.h>
#include <linux/io.h>
#include <linux/uaccess.h>
Go to the source code of this file.
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | SBC8360_ENABLE 0x120 |
#define | SBC8360_BASETIME 0x121 |
Functions | |
module_param (timeout, int, 0) | |
MODULE_PARM_DESC (timeout,"Index into timeout table (0-63) (default=27 (60s))") | |
module_param (nowayout, bool, 0) | |
MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")") | |
module_init (sbc8360_init) | |
module_exit (sbc8360_exit) | |
MODULE_AUTHOR ("Ian E. Morgan <imorgan@webcon.ca>") | |
MODULE_DESCRIPTION ("SBC8360 watchdog driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_VERSION ("1.01") | |
MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
MODULE_AUTHOR | ( | "Ian E. Morgan <imorgan@webcon.ca>" | ) |
module_exit | ( | sbc8360_exit | ) |
module_init | ( | sbc8360_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | nowayout | , |
bool | , | ||
0 | |||
) |
MODULE_PARM_DESC | ( | nowayout | , |
"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")" | |||
) |
MODULE_VERSION | ( | "1.01" | ) |