Hello, All:

This patch adds VendorId, ProductId for a device (USB-Serial
adapter) that uses FT8U232AM chips. Tested on RH 7.2 with
hotplugging. The patch was generated against 2.4.18pre4 and
is intended for both 2.4 and 2.5 trees.


diff -Naur -X /home/dmitri/dontdiff 
linux-2.4.18pre4-official/drivers/usb/serial/ftdi_sio.c 
linux/drivers/usb/serial/ftdi_sio.c
--- linux-2.4.18pre4-official/drivers/usb/serial/ftdi_sio.c     Thu Jan 17 19:11:14 
2002
+++ linux/drivers/usb/serial/ftdi_sio.c Thu Jan 17 19:14:15 2002
@@ -138,6 +138,7 @@
    
 static __devinitdata struct usb_device_id id_table_8U232AM [] = {
        { USB_DEVICE(FTDI_VID, FTDI_8U232AM_PID) },
+       { USB_DEVICE(FTDI_NF_RIC_VID, FTDI_NF_RIC_PID) },
        { }                                             /* Terminating entry */
 };
 
@@ -145,6 +146,7 @@
 static __devinitdata struct usb_device_id id_table_combined [] = {
        { USB_DEVICE(FTDI_VID, FTDI_SIO_PID) },
        { USB_DEVICE(FTDI_VID, FTDI_8U232AM_PID) },
+       { USB_DEVICE(FTDI_NF_RIC_VID, FTDI_NF_RIC_PID) },
        { }                                             /* Terminating entry */
 };
 
diff -Naur -X /home/dmitri/dontdiff 
linux-2.4.18pre4-official/drivers/usb/serial/ftdi_sio.h 
linux/drivers/usb/serial/ftdi_sio.h
--- linux-2.4.18pre4-official/drivers/usb/serial/ftdi_sio.h     Thu Jan 17 19:11:14 
2002
+++ linux/drivers/usb/serial/ftdi_sio.h Thu Jan 17 19:12:32 2002
@@ -22,6 +22,8 @@
 #define FTDI_VID       0x0403  /* Vendor Id */
 #define FTDI_SIO_PID   0x8372  /* Product Id SIO application of 8U100AX  */
 #define FTDI_8U232AM_PID 0x6001 /* Similar device to SIO above */
+#define FTDI_NF_RIC_VID        0x0DCD  /* Vendor Id */
+#define FTDI_NF_RIC_PID        0x0001  /* Product Id */
 
 #define FTDI_SIO_RESET                 0 /* Reset the port */
 #define FTDI_SIO_MODEM_CTRL    1 /* Set the modem control register */

Attachment: msg04059/pgp00000.pgp
Description: PGP signature

Reply via email to