]> git.hungrycats.org Git - linux/commitdiff
[PATCH] USB: ftdi_sio - new vid/pid for OCT US101 USB to RS-232 converter
authorIan Abbott <abbotti@mev.co.uk>
Wed, 24 Sep 2003 07:30:56 +0000 (00:30 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 24 Sep 2003 07:30:56 +0000 (00:30 -0700)
Here are a couple of patches against a copy of Greg's usb-2.4 and
usb-2.5 bk trees to add a VID/PID for Omnidirectional Control
Technology's US101 USB to RS-232 converter.  This has also been
rebadged by Dick Smith Electronics (New Zealand) as a XH6361 USB to
serial converter.  Thanks to Donald Gordon for the info, which I
have verified by checking the Windows INF files.

drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/ftdi_sio.h

index ef813e60a28631582ba1228fd922e7f82811449b..95d984b0f8d1f01ce535a05697ab79c469cd38de 100644 (file)
  * See http://ftdi-usb-sio.sourceforge.net for upto date testing info
  *     and extra documentation
  *
+ * (21/Sep/2003) Ian Abbott
+ *      Added VID/PID for Omnidirectional Control Technology US101 USB to
+ *      RS-232 adapter (also rebadged as Dick Smith Electronics XH6381).
+ *      VID/PID supplied by Donald Gordon.
+ *
  * (19/Aug/2003) Ian Abbott
  *      Freed urb's transfer buffer in write bulk callback.
  *      Omitted some paranoid checks in write bulk callback that don't matter.
@@ -334,6 +339,7 @@ static struct usb_device_id id_table_8U232AM [] = {
        { USB_DEVICE_VER(SEALEVEL_VID, SEALEVEL_2803_7_PID, 0, 0x3ff) },
        { USB_DEVICE_VER(SEALEVEL_VID, SEALEVEL_2803_8_PID, 0, 0x3ff) },
        { USB_DEVICE_VER(IDTECH_VID, IDTECH_IDT1221U_PID, 0, 0x3ff) },
+       { USB_DEVICE_VER(OCT_VID, OCT_US101_PID, 0, 0x3ff) },
        { }                                             /* Terminating entry */
 };
 
@@ -406,6 +412,7 @@ static struct usb_device_id id_table_FT232BM [] = {
        { USB_DEVICE_VER(SEALEVEL_VID, SEALEVEL_2803_7_PID, 0x400, 0xffff) },
        { USB_DEVICE_VER(SEALEVEL_VID, SEALEVEL_2803_8_PID, 0x400, 0xffff) },
        { USB_DEVICE_VER(IDTECH_VID, IDTECH_IDT1221U_PID, 0x400, 0xffff) },
+       { USB_DEVICE_VER(OCT_VID, OCT_US101_PID, 0x400, 0xffff) },
        { }                                             /* Terminating entry */
 };
 
@@ -491,6 +498,7 @@ static struct usb_device_id id_table_combined [] = {
        { USB_DEVICE(SEALEVEL_VID, SEALEVEL_2803_7_PID) },
        { USB_DEVICE(SEALEVEL_VID, SEALEVEL_2803_8_PID) },
        { USB_DEVICE(IDTECH_VID, IDTECH_IDT1221U_PID) },
+       { USB_DEVICE(OCT_VID, OCT_US101_PID) },
        { USB_DEVICE_VER(FTDI_VID, FTDI_HE_TIRA1_PID, 0x400, 0xffff) },
        { USB_DEVICE(FTDI_VID, FTDI_USB_UIRT_PID) },
        { }                                             /* Terminating entry */
index ae5e8df54a9967cb4081482bd26d2ba5ac250fc6..64ad4790fe86130edadaf47e105457cb24e5bd0b 100644 (file)
 #define IDTECH_VID             0x0ACD  /* ID TECH Vendor ID */
 #define IDTECH_IDT1221U_PID    0x0300  /* IDT1221U USB to RS-232 adapter */
 
+/*
+ * Definitions for Omnidirectional Control Technology, Inc. devices
+ */
+#define OCT_VID                        0x0B39  /* OCT vendor ID */
+/* Note: OCT US101 is also rebadged as Dick Smith Electronics (NZ) XH6381 */
+#define OCT_US101_PID          0x0421  /* OCT US101 USB to RS-232 */
+
 /* Commands */
 #define FTDI_SIO_RESET                 0 /* Reset the port */
 #define FTDI_SIO_MODEM_CTRL    1 /* Set the modem control register */