Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>
#include <linux/uaccess.h>
#include <asm/termbits.h>
#include <linux/usb.h>
#include <linux/serial_reg.h>
#include <linux/serial.h>
#include <linux/usb/serial.h>
#include <linux/usb/ezusb.h>
#include "whiteheat.h"
Go to the source code of this file.
Data Structures | |
struct | whiteheat_command_private |
struct | whiteheat_private |
Macros | |
#define | CMSPAR 0 |
#define | DRIVER_AUTHOR "Greg Kroah-Hartman <[email protected]>, Stuart MacDonald <[email protected]>" |
#define | DRIVER_DESC "USB ConnectTech WhiteHEAT driver" |
#define | CONNECT_TECH_VENDOR_ID 0x0710 |
#define | CONNECT_TECH_FAKE_WHITE_HEAT_ID 0x0001 |
#define | CONNECT_TECH_WHITE_HEAT_ID 0x8001 |
#define | COMMAND_PORT 4 |
#define | COMMAND_TIMEOUT (2*HZ) /* 2 second timeout for a command */ |
#define | COMMAND_TIMEOUT_MS 2000 |
#define | CLOSING_DELAY (30 * HZ) |
Functions | |
MODULE_DEVICE_TABLE (usb, id_table_combined) | |
module_usb_serial_driver (serial_drivers, id_table_combined) | |
MODULE_AUTHOR (DRIVER_AUTHOR) | |
MODULE_DESCRIPTION (DRIVER_DESC) | |
MODULE_LICENSE ("GPL") | |
MODULE_FIRMWARE ("whiteheat.fw") | |
MODULE_FIRMWARE ("whiteheat_loader.fw") | |
#define CLOSING_DELAY (30 * HZ) |
Definition at line 176 of file whiteheat.c.
#define CMSPAR 0 |
Definition at line 39 of file whiteheat.c.
#define COMMAND_PORT 4 |
Definition at line 173 of file whiteheat.c.
Definition at line 174 of file whiteheat.c.
#define COMMAND_TIMEOUT_MS 2000 |
Definition at line 175 of file whiteheat.c.
#define CONNECT_TECH_FAKE_WHITE_HEAT_ID 0x0001 |
Definition at line 49 of file whiteheat.c.
#define CONNECT_TECH_VENDOR_ID 0x0710 |
Definition at line 48 of file whiteheat.c.
#define CONNECT_TECH_WHITE_HEAT_ID 0x8001 |
Definition at line 50 of file whiteheat.c.
#define DRIVER_AUTHOR "Greg Kroah-Hartman <[email protected]>, Stuart MacDonald <[email protected]>" |
Definition at line 45 of file whiteheat.c.
#define DRIVER_DESC "USB ConnectTech WhiteHEAT driver" |
Definition at line 46 of file whiteheat.c.
MODULE_AUTHOR | ( | DRIVER_AUTHOR | ) |
MODULE_DESCRIPTION | ( | DRIVER_DESC | ) |
MODULE_DEVICE_TABLE | ( | usb | , |
id_table_combined | |||
) |
MODULE_FIRMWARE | ( | "whiteheat.fw" | ) |
MODULE_FIRMWARE | ( | "whiteheat_loader.fw" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_usb_serial_driver | ( | serial_drivers | , |
id_table_combined | |||
) |