aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ftdi_sio.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.h')
-rw-r--r--drivers/usb/serial/ftdi_sio.h38
1 files changed, 28 insertions, 10 deletions
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h
index be5d60bf90b9..8866376823a5 100644
--- a/drivers/usb/serial/ftdi_sio.h
+++ b/drivers/usb/serial/ftdi_sio.h
@@ -26,7 +26,6 @@
26#define FTDI_SIO_PID 0x8372 /* Product Id SIO application of 8U100AX */ 26#define FTDI_SIO_PID 0x8372 /* Product Id SIO application of 8U100AX */
27#define FTDI_8U232AM_PID 0x6001 /* Similar device to SIO above */ 27#define FTDI_8U232AM_PID 0x6001 /* Similar device to SIO above */
28#define FTDI_8U232AM_ALT_PID 0x6006 /* FTDI's alternate PID for above */ 28#define FTDI_8U232AM_ALT_PID 0x6006 /* FTDI's alternate PID for above */
29#define FTDI_8U232AM_ALT_ALT_PID 0xf3c0 /* FTDI's second alternate PID for above */
30#define FTDI_8U2232C_PID 0x6010 /* Dual channel device */ 29#define FTDI_8U2232C_PID 0x6010 /* Dual channel device */
31#define FTDI_RELAIS_PID 0xFA10 /* Relais device from Rudolf Gugler */ 30#define FTDI_RELAIS_PID 0xFA10 /* Relais device from Rudolf Gugler */
32#define FTDI_NF_RIC_VID 0x0DCD /* Vendor Id */ 31#define FTDI_NF_RIC_VID 0x0DCD /* Vendor Id */
@@ -137,7 +136,7 @@
137/* 136/*
138 * Home Electronics (www.home-electro.com) USB gadgets 137 * Home Electronics (www.home-electro.com) USB gadgets
139 */ 138 */
140#define FTDI_HE_TIRA1_PID 0xFA78 /* Tira-1 IR tranceiver */ 139#define FTDI_HE_TIRA1_PID 0xFA78 /* Tira-1 IR transceiver */
141 140
142/* USB-UIRT - An infrared receiver and transmitter using the 8U232AM chip */ 141/* USB-UIRT - An infrared receiver and transmitter using the 8U232AM chip */
143/* http://home.earthlink.net/~jrhees/USBUIRT/index.htm */ 142/* http://home.earthlink.net/~jrhees/USBUIRT/index.htm */
@@ -145,6 +144,8 @@
145 144
146/* ELV USB Module UO100 (PID sent by Stefan Frings) */ 145/* ELV USB Module UO100 (PID sent by Stefan Frings) */
147#define FTDI_ELV_UO100_PID 0xFB58 /* Product Id */ 146#define FTDI_ELV_UO100_PID 0xFB58 /* Product Id */
147/* ELV USB Module UM100 (PID sent by Arnim Laeuger) */
148#define FTDI_ELV_UM100_PID 0xFB5A /* Product Id */
148 149
149/* 150/*
150 * Definitions for ID TECH (www.idt-net.com) devices 151 * Definitions for ID TECH (www.idt-net.com) devices
@@ -157,7 +158,8 @@
157 */ 158 */
158#define OCT_VID 0x0B39 /* OCT vendor ID */ 159#define OCT_VID 0x0B39 /* OCT vendor ID */
159/* Note: OCT US101 is also rebadged as Dick Smith Electronics (NZ) XH6381 */ 160/* Note: OCT US101 is also rebadged as Dick Smith Electronics (NZ) XH6381 */
160/* Also rebadged as SIIG Inc. model US2308 */ 161/* Also rebadged as Dick Smith Electronics (Aus) XH6451 */
162/* Also rebadged as SIIG Inc. model US2308 hardware version 1 */
161#define OCT_US101_PID 0x0421 /* OCT US101 USB to RS-232 */ 163#define OCT_US101_PID 0x0421 /* OCT US101 USB to RS-232 */
162 164
163/* an infrared receiver for user access control with IR tags */ 165/* an infrared receiver for user access control with IR tags */
@@ -236,10 +238,10 @@
236 238
237/* 239/*
238 * RM Michaelides CANview USB (http://www.rmcan.com) 240 * RM Michaelides CANview USB (http://www.rmcan.com)
239 * CAN filedbus interface adapter, addad by port GmbH www.port.de) 241 * CAN fieldbus interface adapter, added by port GmbH www.port.de)
242 * Ian Abbott changed the macro names for consistency.
240 */ 243 */
241#define FTDI_RM_VID 0x0403 /* Vendor Id */ 244#define FTDI_RM_CANVIEW_PID 0xfd60 /* Product Id */
242#define FTDI_RMCANVIEW_PID 0xfd60 /* Product Id */
243 245
244/* 246/*
245 * EVER Eco Pro UPS (http://www.ever.com.pl/) 247 * EVER Eco Pro UPS (http://www.ever.com.pl/)
@@ -247,6 +249,26 @@
247 249
248#define EVER_ECO_PRO_CDS 0xe520 /* RS-232 converter */ 250#define EVER_ECO_PRO_CDS 0xe520 /* RS-232 converter */
249 251
252/*
253 * 4N-GALAXY.DE PIDs for CAN-USB, USB-RS232, USB-RS422, USB-RS485,
254 * USB-TTY activ, USB-TTY passiv. Some PIDs are used by several devices
255 * and I'm not entirely sure which are used by which.
256 */
257#define FTDI_4N_GALAXY_DE_0_PID 0x8372
258#define FTDI_4N_GALAXY_DE_1_PID 0xF3C0
259#define FTDI_4N_GALAXY_DE_2_PID 0xF3C1
260
261/*
262 * Mobility Electronics products.
263 */
264#define MOBILITY_VID 0x1342
265#define MOBILITY_USB_SERIAL_PID 0x0202 /* EasiDock USB 200 serial */
266
267/*
268 * Active Robots product ids.
269 */
270#define FTDI_ACTIVE_ROBOTS_PID 0xE548 /* USB comms board */
271
250/* Commands */ 272/* Commands */
251#define FTDI_SIO_RESET 0 /* Reset the port */ 273#define FTDI_SIO_RESET 0 /* Reset the port */
252#define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */ 274#define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */
@@ -259,10 +281,6 @@
259#define FTDI_SIO_SET_LATENCY_TIMER 9 /* Set the latency timer */ 281#define FTDI_SIO_SET_LATENCY_TIMER 9 /* Set the latency timer */
260#define FTDI_SIO_GET_LATENCY_TIMER 10 /* Get the latency timer */ 282#define FTDI_SIO_GET_LATENCY_TIMER 10 /* Get the latency timer */
261 283
262/* Port interface code for FT2232C */
263#define INTERFACE_A 1
264#define INTERFACE_B 2
265
266 284
267/* 285/*
268 * BmRequestType: 1100 0000b 286 * BmRequestType: 1100 0000b