#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/delay.h>
#include <linux/time.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/mutex.h>
#include <asm/uaccess.h>
#include <asm/byteorder.h>
#include <net/irda/irda.h>
#include <net/irda/irda_device.h>
#include <net/irda/wrapper.h>
#include <net/irda/crc.h>
#include "vlsi_ir.h"
Go to the source code of this file.
|
| MODULE_DESCRIPTION (DRIVER_DESCRIPTION) |
|
| MODULE_AUTHOR (DRIVER_AUTHOR) |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_DEVICE_TABLE (pci, vlsi_irda_table) |
|
| module_param (clksrc, int, 0) |
|
| MODULE_PARM_DESC (clksrc,"clock input source selection") |
|
| module_param_array (ringsize, int, NULL, 0) |
|
| MODULE_PARM_DESC (ringsize,"TX, RX ring descriptor size") |
|
| module_param (sirpulse, int, 0) |
|
| MODULE_PARM_DESC (sirpulse,"SIR pulse width tuning") |
|
| module_param (qos_mtt_bits, int, 0) |
|
| MODULE_PARM_DESC (qos_mtt_bits,"IrLAP bitfield representing min-turn-time") |
|
| module_init (vlsi_mod_init) |
|
| module_exit (vlsi_mod_exit) |
|
#define DRIVER_AUTHOR "Martin Diehl <info@mdiehl.de>" |
#define DRIVER_NAME "vlsi_ir" |
#define DRIVER_VERSION "v0.5" |
#define PROC_DIR ("driver/" DRIVER_NAME) |
#define VLSI_PROC_FOPS NULL |
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
vlsi_irda_table |
|
|
) |
| |
module_exit |
( |
vlsi_mod_exit |
| ) |
|
module_init |
( |
vlsi_mod_init |
| ) |
|
module_param |
( |
clksrc |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
sirpulse |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
qos_mtt_bits |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param_array |
( |
ringsize |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
clksrc |
, |
|
|
"clock input source selection" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
sirpulse |
, |
|
|
"SIR pulse width tuning" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
qos_mtt_bits |
, |
|
|
"IrLAP bitfield representing min-turn-time" |
|
|
) |
| |