Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
wdt_pci.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/ioport.h>
#include <linux/delay.h>
#include <linux/notifier.h>
#include <linux/reboot.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/pci.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 WDT_IS_PCI
 
#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 (tachometer, int, 0)
 
 MODULE_PARM_DESC (tachometer,"PCI-WDT501 Fan Tachometer support (0=disable, default=0)")
 
 module_param (type, int, 0)
 
 MODULE_PARM_DESC (type,"PCI-WDT501 Card type (500 or 501 , default=500)")
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 40 of file wdt_pci.c.

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

Definition at line 73 of file wdt_pci.c.

#define WDT_IS_PCI

Definition at line 59 of file wdt_pci.c.

Function Documentation

module_param ( heartbeat  ,
int  ,
 
)
module_param ( nowayout  ,
bool  ,
 
)
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 ( tachometer  ,
"PCI-WDT501 Fan Tachometer support (0=disable, default=0)"   
)
MODULE_PARM_DESC ( type  ,
"PCI-WDT501 Card type (500 or 501 , default=500)"   
)