summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ftdi_sio.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2007-05-05 03:23:24 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-05-23 08:45:51 +0200
commitfa91d43b914b77637653d984416e17e182f7b807 (patch)
treec517a05ed00bbd492b322a445521a74705d091d1 /drivers/usb/serial/ftdi_sio.h
parentUSB: Add support for Sierra Wireless Aircard 595U (diff)
downloadlinux-fa91d43b914b77637653d984416e17e182f7b807.tar.xz
linux-fa91d43b914b77637653d984416e17e182f7b807.zip
USB: Add support for Olimex arm-usb-ocd JTAG interface serial port
This patch adds support for the serial port on Olimex arm-usb-ocd JTAG interface. The device appears as two serial ports, but the first one is reserved for the JTAG interface. The JTAG interface can be used with OpenOCD from userspace. For more information, please see: http://openocd.berlios.de/web/ http://www.olimex.com/dev/arm-usb-ocd.html Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.h')
-rw-r--r--drivers/usb/serial/ftdi_sio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h
index 0a56b89530a8..33aee9047242 100644
--- a/drivers/usb/serial/ftdi_sio.h
+++ b/drivers/usb/serial/ftdi_sio.h
@@ -526,6 +526,10 @@
*/
#define FTDI_MAXSTREAM_PID 0xEE18 /* Xbee PKG-U Module */
+/* Olimex */
+#define OLIMEX_VID 0x15BA
+#define OLIMEX_ARM_USB_OCD_PID 0x0003
+
/* Commands */
#define FTDI_SIO_RESET 0 /* Reset the port */
#define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */