#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/serial.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
#include <linux/serial_reg.h>
#include <linux/uaccess.h>
Go to the source code of this file.
| #define ATC_DISABLED 0x00 |
| #define DRIVER_DESC "Quatech SSU-100 USB to Serial Driver" |
| #define DRIVER_VERSION "v0.1" |
| #define DUPMODE_BITS 0xc0 |
| #define FULLPWRBIT 0x00000080 |
| #define LOOPMODE_BITS 0x41 |
| #define MAX_BAUD_RATE 460800 |
| #define NEXT_BOARD_POWER_BIT 0x00000004 |
| #define QT_GET_SET_PREBUF_TRIG_LVL 0xcc |
| #define QT_GET_SET_UART 0xc1 |
| #define QT_HW_FLOW_CONTROL_MASK 0xc5 |
| #define QT_OPEN_CLOSE_CHANNEL 0xca |
| #define QT_SET_GET_DEVICE 0xc2 |
| #define QT_SET_GET_REGISTER 0xc0 |
| #define QT_SW_FLOW_CONTROL_MASK 0xc6 |
| #define QT_TRANSFER_IN 0xc0 |
| #define QUATECH_SSU100 0xC020 /* SSU100 */ |
| #define RTSCTS_TO_CONNECTOR 0x40 |
| #define SERIAL_MSR_MASK 0xf0 |
| #define set_mctrl |
( |
|
dev, |
|
|
|
set |
|
) |
| update_mctrl((dev), (set), 0) |
| #define USB_VENDOR_ID_QUATECH 0x061d /* Quatech VID */ |
| MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
id_table |
|
|
) |
| |
| module_usb_serial_driver |
( |
serial_drivers |
, |
|
|
id_table |
|
|
) |
| |