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

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define VERSION   "0.6"
 
#define WATCHDOG_NAME   "mixcomwd"
 
#define MIXCOM_ID   0x11
 
#define FLASHCOM_ID   0x18
 

Functions

 module_param (nowayout, bool, 0)
 
 MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")")
 
 module_init (mixcomwd_init)
 
 module_exit (mixcomwd_exit)
 
 MODULE_AUTHOR ("Gergely Madarasz <[email protected]>")
 
 MODULE_DESCRIPTION ("MixCom Watchdog driver")
 
 MODULE_VERSION (VERSION)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR)
 

Macro Definition Documentation

#define FLASHCOM_ID   0x18

Definition at line 72 of file mixcomwd.c.

#define MIXCOM_ID   0x11

Definition at line 71 of file mixcomwd.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 42 of file mixcomwd.c.

#define VERSION   "0.6"

Definition at line 44 of file mixcomwd.c.

#define WATCHDOG_NAME   "mixcomwd"

Definition at line 45 of file mixcomwd.c.

Function Documentation

MODULE_ALIAS_MISCDEV ( WATCHDOG_MINOR  )
MODULE_AUTHOR ( "Gergely Madarasz <[email protected]>"  )
MODULE_DESCRIPTION ( "MixCom Watchdog driver )
module_exit ( mixcomwd_exit  )
module_init ( mixcomwd_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( nowayout  ,
bool  ,
 
)
MODULE_PARM_DESC ( nowayout  ,
"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")"   
)
MODULE_VERSION ( VERSION  )

Variable Documentation

Definition at line 75 of file mixcomwd.c.

int ioport

Definition at line 74 of file mixcomwd.c.