#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/delay.h>
#include <linux/fs.h>
#include <linux/ioport.h>
#include <linux/notifier.h>
#include <linux/reboot.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/io.h>
#include <linux/uaccess.h>
Go to the source code of this file.
|
| module_init (wb_smsc_wdt_init) |
|
| module_exit (wb_smsc_wdt_exit) |
|
| MODULE_AUTHOR ("Sven Anders <[email protected]>") |
|
| MODULE_DESCRIPTION ("Driver for SMsC 37B787 watchdog component (Version "VERSION")") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) |
|
| module_param (unit, int, 0) |
|
| MODULE_PARM_DESC (unit,"set unit to use, 0=seconds or 1=minutes, default is 0") |
|
| module_param (timeout, int, 0) |
|
| MODULE_PARM_DESC (timeout,"range is 1-255 units, default is 60") |
|
| module_param (nowayout, bool, 0) |
|
| MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")") |
|
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define SMSC_SUPPORT_MINUTES |
MODULE_DESCRIPTION |
( |
"Driver for SMsC 37B787 watchdog component (Version "VERSION")" |
| ) |
|
module_exit |
( |
wb_smsc_wdt_exit |
| ) |
|
module_init |
( |
wb_smsc_wdt_init |
| ) |
|
module_param |
( |
nowayout |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
timeout |
, |
|
|
"range is 1-255 |
units, |
|
|
default is 60" |
|
|
) |
| |