#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/usb.h>
#include <linux/usb/serial.h>
Go to the source code of this file.
#define DRIVER_VERSION "v0.10" |
#define GET_RAM_TYPE 0x32 |
#define GET_REGISTER 0xc0 |
#define GET_REGISTER_TYPE 0x28 |
#define GET_UART_STATUS 0x22 |
#define GET_UART_STATUS_MSR 0x06 |
#define GET_UART_STATUS_TYPE 0xc0 |
#define GET_VERSION_TYPE 0x26 |
#define MCR_CONTROL_LINE_DTR 0x01 |
#define MCR_CONTROL_LINE_RTS 0x02 |
#define MSR_STATUS_LINE_CTS 0x10 |
#define MSR_STATUS_LINE_DCD 0x80 |
#define MSR_STATUS_LINE_DSR 0x20 |
#define MSR_STATUS_LINE_RI 0x40 |
#define SET_DEFAULT_TYPE 0x20 |
#define SET_FLOWCTL_CHAR 0x40 |
#define SET_FLOWCTL_CHAR_TYPE 0x25 |
#define SET_RAM_TYPE 0x31 |
#define SET_REGISTER 0x40 |
#define SET_REGISTER_TYPE 0x27 |
#define SET_UART_FORMAT 0x40 |
#define SET_UART_FORMAT_PAR_EVEN 0x30 |
#define SET_UART_FORMAT_PAR_MASK 0xD0 |
#define SET_UART_FORMAT_PAR_NONE 0x00 |
#define SET_UART_FORMAT_PAR_ODD 0x10 |
#define SET_UART_FORMAT_PAR_SPACE 0x90 |
#define SET_UART_FORMAT_SIZE_5 0x00 |
#define SET_UART_FORMAT_SIZE_6 0x01 |
#define SET_UART_FORMAT_SIZE_7 0x02 |
#define SET_UART_FORMAT_SIZE_8 0x03 |
#define SET_UART_FORMAT_STOP_1 0x00 |
#define SET_UART_FORMAT_STOP_2 0x04 |
#define SET_UART_FORMAT_TYPE 0x21 |
#define SET_UART_STATUS 0x40 |
#define SET_UART_STATUS_MCR 0x0004 |
#define SET_UART_STATUS_MCR_DTR 0x01 |
#define SET_UART_STATUS_MCR_LOOP 0x10 |
#define SET_UART_STATUS_MCR_RTS 0x02 |
#define SET_UART_STATUS_TYPE 0x23 |
#define SET_WORKING_MODE 0x40 |
#define SET_WORKING_MODE_PDMA 0x02 |
#define SET_WORKING_MODE_RS485 0x01 |
#define SET_WORKING_MODE_SPP 0x03 |
#define SET_WORKING_MODE_TYPE 0x24 |
#define SET_WORKING_MODE_U2C 0x00 |
#define SPCP8x5_007_PID 0x0201 |
#define SPCP8x5_007_VID 0x04FC |
#define SPCP8x5_008_PID 0x0235 |
#define SPCP8x5_008_VID 0x04fc |
#define SPCP8x5_835_PID 0x0231 |
#define SPCP8x5_835_VID 0x04fc |
#define SPCP8x5_INTERMATIC_PID 0x0204 |
#define SPCP8x5_INTERMATIC_VID 0x04FC |
#define SPCP8x5_PHILIPS_PID 0x081e |
#define SPCP8x5_PHILIPS_VID 0x0471 |
#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 0x75 |
- Enumerator:
SPCP825_007_TYPE |
|
SPCP825_008_TYPE |
|
SPCP825_PHILIP_TYPE |
|
SPCP825_INTERMATIC_TYPE |
|
SPCP835_TYPE |
|
Definition at line 144 of file spcp8x5.c.
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
id_table |
|
|
) |
| |
module_usb_serial_driver |
( |
serial_drivers |
, |
|
|
id_table |
|
|
) |
| |