Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
w6692.c File Reference
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/mISDNhw.h>
#include <linux/slab.h>
#include "w6692.h"

Go to the source code of this file.

Data Structures

struct  w6692map
 
struct  w6692_ch
 
struct  w6692_hw
 

Macros

#define W6692_REV   "2.0"
 
#define DBUSY_TIMER_VALUE   80
 
#define PCI_VENDOR_ID_USR   0x16ec
 
#define PCI_DEVICE_ID_USR_6692   0x3409
 

Enumerations

enum  { W6692_ASUS, W6692_WINBOND, W6692_USR }
 

Functions

 MODULE_AUTHOR ("Karsten Keil")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_VERSION (W6692_REV)
 
 module_param_call (debug, set_debug, param_get_uint,&debug, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (debug,"W6692 debug mask")
 
 module_param (led, uint, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (led,"W6692 LED support bitmask (one bit per card)")
 
 module_param (pots, uint, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (pots,"W6692 POTS support bitmask (one bit per card)")
 
void initW6692 (struct w6692_hw *card)
 
 MODULE_DEVICE_TABLE (pci, w6692_ids)
 
 module_init (w6692_init)
 
 module_exit (w6692_cleanup)
 

Macro Definition Documentation

#define DBUSY_TIMER_VALUE   80

Definition at line 34 of file w6692.c.

#define PCI_DEVICE_ID_USR_6692   0x3409

Definition at line 57 of file w6692.c.

#define PCI_VENDOR_ID_USR   0x16ec

Definition at line 56 of file w6692.c.

#define W6692_REV   "2.0"

Definition at line 32 of file w6692.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
W6692_ASUS 
W6692_WINBOND 
W6692_USR 

Definition at line 36 of file w6692.c.

Function Documentation

void initW6692 ( struct w6692_hw card)

Definition at line 851 of file w6692.c.

MODULE_AUTHOR ( "Karsten Keil"  )
MODULE_DEVICE_TABLE ( pci  ,
w6692_ids   
)
module_exit ( w6692_cleanup  )
module_init ( w6692_init  )
MODULE_LICENSE ( "GPL v2 )
module_param ( led  ,
uint  ,
S_IRUGO S_IWUSR 
)
module_param ( pots  ,
uint  ,
S_IRUGO S_IWUSR 
)
module_param_call ( debug  ,
set_debug  ,
param_get_uint  ,
debug,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( debug  ,
"W6692 debug mask  
)
MODULE_PARM_DESC ( led  ,
"W6692 LED support bitmask (one bit per card)"   
)
MODULE_PARM_DESC ( pots  ,
"W6692 POTS support bitmask (one bit per card)"   
)
MODULE_VERSION ( W6692_REV  )