Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ep93xx_wdt.c File Reference
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/timer.h>
#include <linux/io.h>

Go to the source code of this file.

Macros

#define WDT_VERSION   "0.4"
 
#define WDT_TIMEOUT   30
 
#define EP93XX_WATCHDOG   0x00
 
#define EP93XX_WDSTATUS   0x04
 
#define WDT_INTERVAL   (HZ/5)
 

Functions

 module_param (nowayout, bool, 0)
 
 MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started")
 
 module_param (timeout, uint, 0)
 
 MODULE_PARM_DESC (timeout,"Watchdog timeout in seconds. (1<=timeout<=3600, default="__MODULE_STRING(WDT_TIMEOUT)")")
 
 module_platform_driver (ep93xx_wdt_driver)
 
 MODULE_AUTHOR ("Ray Lehtiniemi <[email protected]>,""Alessandro Zummo <[email protected]>,""H Hartley Sweeten <[email protected]>")
 
 MODULE_DESCRIPTION ("EP93xx Watchdog")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (WDT_VERSION)
 
 MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR)
 

Macro Definition Documentation

#define EP93XX_WATCHDOG   0x00

Definition at line 55 of file ep93xx_wdt.c.

#define EP93XX_WDSTATUS   0x04

Definition at line 56 of file ep93xx_wdt.c.

#define WDT_INTERVAL   (HZ/5)

Definition at line 59 of file ep93xx_wdt.c.

#define WDT_TIMEOUT   30

Definition at line 39 of file ep93xx_wdt.c.

#define WDT_VERSION   "0.4"

Definition at line 36 of file ep93xx_wdt.c.

Function Documentation

MODULE_ALIAS_MISCDEV ( WATCHDOG_MINOR  )
MODULE_AUTHOR ( "Ray Lehtiniemi <[email protected] ,
""Alessandro Zummo< a.zummo @towertech.it >  ,
""H Hartley Sweeten< hsweeten @visionengravers.com >"   
)
MODULE_DESCRIPTION ( "EP93xx Watchdog"  )
MODULE_LICENSE ( "GPL"  )
module_param ( nowayout  ,
bool  ,
 
)
module_param ( timeout  ,
uint  ,
 
)
MODULE_PARM_DESC ( nowayout  ,
"Watchdog cannot be stopped once started  
)
MODULE_PARM_DESC ( timeout  ,
"Watchdog timeout in seconds. (1<=timeout<=3600, default="__MODULE_STRING(WDT_TIMEOUT)")"   
)
module_platform_driver ( ep93xx_wdt_driver  )
MODULE_VERSION ( WDT_VERSION  )