]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
USB: Microchip VID mislabeled as Hornby VID in ftdi_sio.
authorBruno Thomsen <bruno.thomsen@gmail.com>
Sun, 4 Mar 2012 14:19:14 +0000 (15:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 17:31:32 +0000 (10:31 -0700)
commit c1cee1d84001815a1b4321c49b995254c0df3100 upstream.

Microchip VID (0x04d8) was mislabeled as Hornby VID according to USB-IDs.

A Full Speed USB Demo Board PID (0x000a) was mislabeled as
Hornby Elite (an Digital Command Controller Console for model railways).

Most likely the Hornby based their design on
PIC18F87J50 Full Speed USB Demo Board.

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/ftdi_sio_ids.h

index e776bd31696aa5eb768c449a82c986f2ac3bcfdf..434288bab825a4ea2b5d1a9e1fbb8548d6e6f166 100644 (file)
@@ -797,7 +797,7 @@ static struct usb_device_id id_table_combined [] = {
                .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
        { USB_DEVICE(ADI_VID, ADI_GNICEPLUS_PID),
                .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
-       { USB_DEVICE(HORNBY_VID, HORNBY_ELITE_PID) },
+       { USB_DEVICE(MICROCHIP_VID, MICROCHIP_USB_BOARD_PID) },
        { USB_DEVICE(JETI_VID, JETI_SPC1201_PID) },
        { USB_DEVICE(MARVELL_VID, MARVELL_SHEEVAPLUG_PID),
                .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
index 6f6058f0db1ba31a53e947933d703785d1324136..891ce21bf2435aeaf2ac34bf28d02ea9ab381da6 100644 (file)
 #define ADI_GNICEPLUS_PID      0xF001
 
 /*
- * Hornby Elite
+ * Microchip Technology, Inc.
+ *
+ * MICROCHIP_VID (0x04D8) and MICROCHIP_USB_BOARD_PID (0x000A) are also used by:
+ * Hornby Elite - Digital Command Control Console
+ * http://www.hornby.com/hornby-dcc/controllers/
  */
-#define HORNBY_VID             0x04D8
-#define HORNBY_ELITE_PID       0x000A
+#define MICROCHIP_VID          0x04D8
+#define MICROCHIP_USB_BOARD_PID        0x000A /* CDC RS-232 Emulation Demo */
 
 /*
  * RATOC REX-USB60F