Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
vme_pio2_core.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/device.h>
#include <linux/ctype.h>
#include <linux/gpio.h>
#include <linux/slab.h>
#include <linux/vme.h>
#include "vme_pio2.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

 MODULE_PARM_DESC (bus,"Enumeration of VMEbus to which the board is connected")
 
 module_param_array (bus, int,&bus_num, S_IRUGO)
 
 MODULE_PARM_DESC (base,"Base VME address for PIO2 Registers")
 
 module_param_array (base, long,&base_num, S_IRUGO)
 
 MODULE_PARM_DESC (vector,"VME IRQ Vector (Lower 4 bits masked)")
 
 module_param_array (vector, int,&vector_num, S_IRUGO)
 
 MODULE_PARM_DESC (level,"VME IRQ Level")
 
 module_param_array (level, int,&level_num, S_IRUGO)
 
 MODULE_PARM_DESC (variant,"Last 4 characters of PIO2 board variant")
 
 module_param_array (variant, charp,&variant_num, S_IRUGO)
 
 MODULE_PARM_DESC (loopback,"Enable loopback mode on all cards")
 
 module_param (loopback, bool, S_IRUGO)
 
 MODULE_DESCRIPTION ("GE PIO2 6U VME I/O Driver")
 
 MODULE_AUTHOR ("Martyn Welch <[email protected]")
 
 MODULE_LICENSE ("GPL")
 
 module_init (pio2_init)
 
 module_exit (pio2_exit)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 13 of file vme_pio2_core.c.

Function Documentation

MODULE_AUTHOR ( )
MODULE_DESCRIPTION ( "GE PIO2 6U VME I/O Driver"  )
module_exit ( pio2_exit  )
module_init ( pio2_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( loopback  ,
bool  ,
S_IRUGO   
)
module_param_array ( bus  ,
int  ,
bus_num,
S_IRUGO   
)
module_param_array ( base  ,
long  ,
base_num,
S_IRUGO   
)
module_param_array ( vector  ,
int  ,
vector_num,
S_IRUGO   
)
module_param_array ( level  ,
int  ,
level_num,
S_IRUGO   
)
module_param_array ( variant  ,
charp  ,
variant_num,
S_IRUGO   
)
MODULE_PARM_DESC ( bus  ,
"Enumeration of VMEbus to which the board is connected"   
)
MODULE_PARM_DESC ( base  ,
"Base VME address for PIO2 Registers"   
)
MODULE_PARM_DESC ( vector  ,
"VME IRQ Vector (Lower 4 bits masked)"   
)
MODULE_PARM_DESC ( level  ,
"VME IRQ Level"   
)
MODULE_PARM_DESC ( variant  ,
"Last 4 characters of PIO2 board variant  
)
MODULE_PARM_DESC ( loopback  ,
"Enable loopback mode on all cards  
)