#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/device.h>
#include <linux/crc32.h>
#include <asm/unaligned.h>
#include <asm/byteorder.h>
#include <asm/uaccess.h>
#include <net/irda/irda.h>
#include <net/irda/wrapper.h>
#include <net/irda/crc.h>
#include "mcs7780.h"
Go to the source code of this file.
|
| MODULE_AUTHOR ("Brian Pugh <[email protected]>") |
|
| MODULE_DESCRIPTION ("IrDA-USB Dongle Driver for MosChip MCS7780") |
|
| MODULE_VERSION ("0.3alpha") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_DEVICE_TABLE (usb, mcs_table) |
|
| module_param (qos_mtt_bits, int, 0) |
|
| MODULE_PARM_DESC (qos_mtt_bits,"Minimum Turn Time") |
|
| module_param (receive_mode, int, 0) |
|
| MODULE_PARM_DESC (receive_mode,"Receive mode of the device (1:fast, 0:slow, default:1)") |
|
| module_param (sir_tweak, int, 0444) |
|
| MODULE_PARM_DESC (sir_tweak,"Default pulse width (1:1.6us, 0:3/16 bit, default:1).") |
|
| module_param (transceiver_type, int, 0444) |
|
| MODULE_PARM_DESC (transceiver_type,"IR transceiver type, see mcs7780.h.") |
|
| module_usb_driver (mcs_driver) |
|
#define MCS_PRODUCT_ID 0x7780 |
#define MCS_VENDOR_ID 0x9710 |
MODULE_DESCRIPTION |
( |
"IrDA-USB Dongle Driver for MosChip MCS7780" |
| ) |
|
module_param |
( |
qos_mtt_bits |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
receive_mode |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
sir_tweak |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
module_param |
( |
transceiver_type |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
qos_mtt_bits |
, |
|
|
"Minimum Turn Time" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
receive_mode |
, |
|
|
"Receive mode of the device (1:fast, 0:slow, default:1)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
sir_tweak |
, |
|
|
"Default pulse width (1:1.6us, 0:3/16 bit, default:1)." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
transceiver_type |
, |
|
|
"IR transceiver |
type, |
|
|
see mcs7780.h." |
|
|
) |
| |
module_usb_driver |
( |
mcs_driver |
| ) |
|
MODULE_VERSION |
( |
"0.3alpha" |
| ) |
|