Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
janz-cmodio.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/mfd/core.h>
#include <linux/mfd/janz.h>

Go to the source code of this file.

Data Structures

struct  cmodio_device
 

Macros

#define DRV_NAME   "janz-cmodio"
 
#define CMODIO_MODULBUS_SIZE   0x200
 
#define CMODIO_MAX_MODULES   4
 
#define PCI_VENDOR_ID_JANZ   0x13c3
 

Functions

 module_param_array (modules, charp,&num_modules, S_IRUGO)
 
 MODULE_PARM_DESC (modules,"MODULbus modules attached to the carrier board")
 
 MODULE_DEVICE_TABLE (pci, cmodio_pci_ids)
 
 module_pci_driver (cmodio_pci_driver)
 
 MODULE_AUTHOR ("Ira W. Snyder <[email protected]>")
 
 MODULE_DESCRIPTION ("Janz CMOD-IO PCI MODULbus Carrier Board Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define CMODIO_MAX_MODULES   4

Definition at line 32 of file janz-cmodio.c.

#define CMODIO_MODULBUS_SIZE   0x200

Definition at line 29 of file janz-cmodio.c.

#define DRV_NAME   "janz-cmodio"

Definition at line 26 of file janz-cmodio.c.

#define PCI_VENDOR_ID_JANZ   0x13c3

Definition at line 269 of file janz-cmodio.c.

Function Documentation

MODULE_AUTHOR ( "Ira W. Snyder <[email protected]>"  )
MODULE_DESCRIPTION ( "Janz CMOD-IO PCI MODULbus Carrier Board Driver"  )
MODULE_DEVICE_TABLE ( pci  ,
cmodio_pci_ids   
)
MODULE_LICENSE ( "GPL"  )
module_param_array ( modules  ,
charp  ,
num_modules,
S_IRUGO   
)
MODULE_PARM_DESC ( modules  ,
"MODULbus modules attached to the carrier board  
)
module_pci_driver ( cmodio_pci_driver  )