Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
riowd.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  riowd
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define DRIVER_NAME   "riowd"
 
#define PFX   DRIVER_NAME ": "
 
#define WDTO_INDEX   0x05
 

Functions

 MODULE_AUTHOR ("David S. Miller <[email protected]>")
 
 MODULE_DESCRIPTION ("Hardware watchdog driver for Sun RIO")
 
 MODULE_SUPPORTED_DEVICE ("watchdog")
 
 MODULE_LICENSE ("GPL")
 
 module_param (riowd_timeout, int, 0)
 
 MODULE_PARM_DESC (riowd_timeout,"Watchdog timeout in minutes")
 
 MODULE_DEVICE_TABLE (of, riowd_match)
 
 module_platform_driver (riowd_driver)
 

Macro Definition Documentation

#define DRIVER_NAME   "riowd"

Definition at line 52 of file riowd.c.

#define PFX   DRIVER_NAME ": "

Definition at line 53 of file riowd.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 6 of file riowd.c.

#define WDTO_INDEX   0x05

Definition at line 62 of file riowd.c.

Function Documentation

MODULE_AUTHOR ( "David S. Miller <[email protected]>"  )
MODULE_DESCRIPTION ( "Hardware watchdog driver for Sun RIO"  )
MODULE_DEVICE_TABLE ( of  ,
riowd_match   
)
MODULE_LICENSE ( "GPL"  )
module_param ( riowd_timeout  ,
int  ,
 
)
MODULE_PARM_DESC ( riowd_timeout  ,
"Watchdog timeout in minutes"   
)
module_platform_driver ( riowd_driver  )
MODULE_SUPPORTED_DEVICE ( "watchdog"  )