|
Linux Kernel
3.7.1
|
#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>Go to the source code of this file.
Data Structures | |
| struct | ks959_speedparams |
| struct | ks959_cb |
Macros | |
| #define | KS959_VENDOR_ID 0x07d0 |
| #define | KS959_PRODUCT_ID 0x4959 |
| #define | KINGSUN_MTT 0x07 |
| #define | KINGSUN_REQ_RECV 0x01 |
| #define | KINGSUN_REQ_SEND 0x09 |
| #define | KINGSUN_RCV_FIFO_SIZE 2048 /* Max length we can receive */ |
| #define | KINGSUN_SND_FIFO_SIZE 2048 /* Max packet we can send */ |
| #define | KINGSUN_SND_PACKET_SIZE 256 /* Max packet dongle can handle */ |
| #define | KS_DATA_5_BITS 0x00 |
| #define | KS_DATA_6_BITS 0x01 |
| #define | KS_DATA_7_BITS 0x02 |
| #define | KS_DATA_8_BITS 0x03 |
| #define | KS_STOP_BITS_1 0x00 |
| #define | KS_STOP_BITS_2 0x08 |
| #define | KS_PAR_DISABLE 0x00 |
| #define | KS_PAR_EVEN 0x10 |
| #define | KS_PAR_ODD 0x30 |
| #define | KS_RESET 0x80 |
Functions | |
| MODULE_DEVICE_TABLE (usb, dongles) | |
| module_usb_driver (irda_driver) | |
| MODULE_AUTHOR ("Alex VillacĂs Lasso <[email protected]>") | |
| MODULE_DESCRIPTION ("IrDA-USB Dongle Driver for KingSun KS-959") | |
| MODULE_LICENSE ("GPL") | |
Variables | |
| struct ks959_speedparams | __packed |
| #define KINGSUN_MTT 0x07 |
Definition at line 145 of file ks959-sir.c.
| #define KINGSUN_RCV_FIFO_SIZE 2048 /* Max length we can receive */ |
Definition at line 149 of file ks959-sir.c.
| #define KINGSUN_REQ_RECV 0x01 |
Definition at line 146 of file ks959-sir.c.
| #define KINGSUN_REQ_SEND 0x09 |
Definition at line 147 of file ks959-sir.c.
Definition at line 150 of file ks959-sir.c.
Definition at line 151 of file ks959-sir.c.
| #define KS959_PRODUCT_ID 0x4959 |
Definition at line 134 of file ks959-sir.c.
| #define KS959_VENDOR_ID 0x07d0 |
Definition at line 133 of file ks959-sir.c.
| #define KS_DATA_5_BITS 0x00 |
Definition at line 159 of file ks959-sir.c.
| #define KS_DATA_6_BITS 0x01 |
Definition at line 160 of file ks959-sir.c.
| #define KS_DATA_7_BITS 0x02 |
Definition at line 161 of file ks959-sir.c.
| #define KS_DATA_8_BITS 0x03 |
Definition at line 162 of file ks959-sir.c.
| #define KS_PAR_DISABLE 0x00 |
Definition at line 167 of file ks959-sir.c.
| #define KS_PAR_EVEN 0x10 |
Definition at line 168 of file ks959-sir.c.
| #define KS_PAR_ODD 0x30 |
Definition at line 169 of file ks959-sir.c.
| #define KS_RESET 0x80 |
Definition at line 170 of file ks959-sir.c.
| #define KS_STOP_BITS_1 0x00 |
Definition at line 164 of file ks959-sir.c.
| #define KS_STOP_BITS_2 0x08 |
Definition at line 165 of file ks959-sir.c.
| MODULE_AUTHOR | ( | "Alex VillacĂs Lasso <[email protected]>" | ) |
| MODULE_DEVICE_TABLE | ( | usb | , |
| dongles | |||
| ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_usb_driver | ( | irda_driver | ) |
1.8.2