This patch adds a new product ID to the list of devices using the FTDI232BM chip. It applies cleanly against vanilla 2.6.0.


--
Paulo Marques - www.grupopie.com

"In a world without walls and fences who needs windows and gates?"
diff -urN -X dontdiff vanilla/drivers/usb/serial/ftdi_sio.c 
linux-2.6.0/drivers/usb/serial/ftdi_sio.c
--- vanilla/drivers/usb/serial/ftdi_sio.c       Thu Dec 18 02:59:18 2003
+++ linux-2.6.0/drivers/usb/serial/ftdi_sio.c   Tue Dec 30 19:24:07 2003
@@ -368,6 +368,7 @@
        { USB_DEVICE_VER(FTDI_VID, FTDI_MTXORB_5_PID, 0x400, 0xffff) },
        { USB_DEVICE_VER(FTDI_VID, FTDI_MTXORB_6_PID, 0x400, 0xffff) },
        { USB_DEVICE_VER(FTDI_VID, FTDI_PERLE_ULTRAPORT_PID, 0x400, 0xffff) },
+       { USB_DEVICE_VER(FTDI_VID, FTDI_PIEGROUP_PID, 0x400, 0xffff) },
        { USB_DEVICE_VER(SEALEVEL_VID, SEALEVEL_2101_PID, 0x400, 0xffff) },
        { USB_DEVICE_VER(SEALEVEL_VID, SEALEVEL_2102_PID, 0x400, 0xffff) },
        { USB_DEVICE_VER(SEALEVEL_VID, SEALEVEL_2103_PID, 0x400, 0xffff) },

diff -urN -X dontdiff vanilla/drivers/usb/serial/ftdi_sio.h 
linux-2.6.0/drivers/usb/serial/ftdi_sio.h
--- vanilla/drivers/usb/serial/ftdi_sio.h       Thu Dec 18 02:59:28 2003
+++ linux-2.6.0/drivers/usb/serial/ftdi_sio.h   Tue Dec 30 19:24:08 2003
@@ -144,6 +144,9 @@
 #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 */
+
+/* an infrared receiver for user access control with IR tags */
+#define FTDI_PIEGROUP_PID      0xF208  /* Product Id */
 
 /* Commands */
 #define FTDI_SIO_RESET                 0 /* Reset the port */

Reply via email to