Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cycx_main.c File Reference
#include <linux/stddef.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/wanrouter.h>
#include <linux/cyclomx.h>
#include <linux/init.h>
#include <linux/interrupt.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define CYCX_DRV_VERSION   0 /* version number */
 
#define CYCX_DRV_RELEASE   11 /* release (minor version) number */
 
#define CYCX_MAX_CARDS   1 /* max number of adapters */
 
#define CONFIG_CYCX_CARDS   1
 

Functions

 MODULE_AUTHOR ("Arnaldo Carvalho de Melo")
 
 MODULE_DESCRIPTION ("Cyclom 2X Sync Card Driver.")
 
 MODULE_LICENSE ("GPL")
 
 module_param (cycx_debug, int, 0)
 
 MODULE_PARM_DESC (cycx_debug,"cyclomx debug level")
 
void cycx_set_state (struct cycx_device *card, int state)
 
 module_init (cycx_init)
 
 module_exit (cycx_exit)
 

Variables

unsigned int cycx_debug
 

Macro Definition Documentation

#define CONFIG_CYCX_CARDS   1

Definition at line 71 of file cycx_main.c.

#define CYCX_DRV_RELEASE   11 /* release (minor version) number */

Definition at line 68 of file cycx_main.c.

#define CYCX_DRV_VERSION   0 /* version number */

Definition at line 67 of file cycx_main.c.

#define CYCX_MAX_CARDS   1 /* max number of adapters */

Definition at line 69 of file cycx_main.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 43 of file cycx_main.c.

Function Documentation

void cycx_set_state ( struct cycx_device *  card,
int  state 
)

Definition at line 321 of file cycx_main.c.

MODULE_AUTHOR ( "Arnaldo Carvalho de Melo"  )
MODULE_DESCRIPTION ( "Cyclom 2X Sync Card Driver."  )
module_exit ( cycx_exit  )
module_init ( cycx_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( cycx_debug  ,
int  ,
 
)
MODULE_PARM_DESC ( cycx_debug  ,
"cyclomx debug level  
)

Variable Documentation

unsigned int cycx_debug

Definition at line 57 of file cycx_main.c.