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 | ksdazzle_speedparams |
struct | ksdazzle_cb |
Macros | |
#define | KSDAZZLE_VENDOR_ID 0x07d0 |
#define | KSDAZZLE_PRODUCT_ID 0x4100 |
#define | KINGSUN_MTT 0x07 |
#define | KINGSUN_REQ_RECV 0x01 |
#define | KINGSUN_REQ_SEND 0x09 |
#define | KINGSUN_SND_FIFO_SIZE 2048 /* Max packet we can send */ |
#define | KINGSUN_RCV_MAX 2048 /* Max transfer we can receive */ |
#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 |
#define | KINGSUN_EP_IN 0 |
#define | KINGSUN_EP_OUT 1 |
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 Dazzle") | |
MODULE_LICENSE ("GPL") | |
Variables | |
struct ksdazzle_speedparams | __packed |
#define KINGSUN_EP_IN 0 |
Definition at line 135 of file ksdazzle-sir.c.
#define KINGSUN_EP_OUT 1 |
Definition at line 136 of file ksdazzle-sir.c.
#define KINGSUN_MTT 0x07 |
Definition at line 109 of file ksdazzle-sir.c.
#define KINGSUN_RCV_MAX 2048 /* Max transfer we can receive */ |
Definition at line 114 of file ksdazzle-sir.c.
#define KINGSUN_REQ_RECV 0x01 |
Definition at line 110 of file ksdazzle-sir.c.
#define KINGSUN_REQ_SEND 0x09 |
Definition at line 111 of file ksdazzle-sir.c.
Definition at line 113 of file ksdazzle-sir.c.
#define KS_DATA_5_BITS 0x00 |
Definition at line 122 of file ksdazzle-sir.c.
#define KS_DATA_6_BITS 0x01 |
Definition at line 123 of file ksdazzle-sir.c.
#define KS_DATA_7_BITS 0x02 |
Definition at line 124 of file ksdazzle-sir.c.
#define KS_DATA_8_BITS 0x03 |
Definition at line 125 of file ksdazzle-sir.c.
#define KS_PAR_DISABLE 0x00 |
Definition at line 130 of file ksdazzle-sir.c.
#define KS_PAR_EVEN 0x10 |
Definition at line 131 of file ksdazzle-sir.c.
#define KS_PAR_ODD 0x30 |
Definition at line 132 of file ksdazzle-sir.c.
#define KS_RESET 0x80 |
Definition at line 133 of file ksdazzle-sir.c.
#define KS_STOP_BITS_1 0x00 |
Definition at line 127 of file ksdazzle-sir.c.
#define KS_STOP_BITS_2 0x08 |
Definition at line 128 of file ksdazzle-sir.c.
#define KSDAZZLE_PRODUCT_ID 0x4100 |
Definition at line 98 of file ksdazzle-sir.c.
#define KSDAZZLE_VENDOR_ID 0x07d0 |
Definition at line 97 of file ksdazzle-sir.c.
MODULE_AUTHOR | ( | "Alex VillacĂs Lasso <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | usb | , |
dongles | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_usb_driver | ( | irda_driver | ) |