#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/serial.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/spinlock.h>
#include <linux/uaccess.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
#include "pl2303.h"
Go to the source code of this file.
#define BREAK_REQUEST 0x23 |
#define BREAK_REQUEST_TYPE 0x21 |
#define GET_LINE_REQUEST 0x21 |
#define GET_LINE_REQUEST_TYPE 0xa1 |
#define SET_CONTROL_REQUEST 0x22 |
#define SET_CONTROL_REQUEST_TYPE 0x21 |
#define SET_LINE_REQUEST 0x20 |
#define SET_LINE_REQUEST_TYPE 0x21 |
#define UART_BREAK_ERROR 0x04 |
#define UART_FRAME_ERROR 0x10 |
#define UART_OVERRUN_ERROR 0x40 |
#define UART_PARITY_ERROR 0x20 |
#define UART_STATE_TRANSIENT_MASK 0x74 |
#define VENDOR_READ_REQUEST 0x01 |
#define VENDOR_READ_REQUEST_TYPE 0xc0 |
#define VENDOR_WRITE_REQUEST 0x01 |
#define VENDOR_WRITE_REQUEST_TYPE 0x40 |
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
id_table |
|
|
) |
| |
module_usb_serial_driver |
( |
serial_drivers |
, |
|
|
id_table |
|
|
) |
| |