Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
wdt.c File Reference
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/fs.h>
#include <linux/ioport.h>
#include <linux/notifier.h>
#include <linux/reboot.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include "wd501p.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define WD_TIMO   60 /* Default heartbeat = 60 seconds */
 

Functions

 module_param (heartbeat, int, 0)
 
 MODULE_PARM_DESC (heartbeat,"Watchdog heartbeat in seconds. (0 < heartbeat < 65536, default="__MODULE_STRING(WD_TIMO)")")
 
 module_param (nowayout, bool, 0)
 
 MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")")
 
 module_param (io, int, 0)
 
 MODULE_PARM_DESC (io,"WDT io port (default=0x240)")
 
 module_param (irq, int, 0)
 
 MODULE_PARM_DESC (irq,"WDT irq (default=11)")
 
 module_param (tachometer, int, 0)
 
 MODULE_PARM_DESC (tachometer,"WDT501-P Fan Tachometer support (0=disable, default=0)")
 
 module_param (type, int, 0)
 
 MODULE_PARM_DESC (type,"WDT501-P Card type (500 or 501, default=500)")
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 35 of file wdt.c.

#define WD_TIMO   60 /* Default heartbeat = 60 seconds */

Definition at line 60 of file wdt.c.

Function Documentation

module_param ( heartbeat  ,
int  ,
 
)
module_param ( nowayout  ,
bool  ,
 
)
module_param ( io  ,
int  ,
 
)
module_param ( irq  ,
int  ,
 
)
module_param ( tachometer  ,
int  ,
 
)
module_param ( type  ,
int  ,
 
)
MODULE_PARM_DESC ( heartbeat  ,
"Watchdog heartbeat in seconds. (0 < heartbeat < 65536, default="__MODULE_STRING(WD_TIMO)")"   
)
MODULE_PARM_DESC ( nowayout  ,
"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")"   
)
MODULE_PARM_DESC ( io  ,
"WDT io port (default=0x240)"   
)
MODULE_PARM_DESC ( irq  ,
"WDT irq (default=11)"   
)
MODULE_PARM_DESC ( tachometer  ,
"WDT501-P Fan Tachometer support (0=disable, default=0)"   
)
MODULE_PARM_DESC ( type  ,
"WDT501-P Card type (500 or 501, default=500)"   
)