aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Thomsen <bruno.thomsen@gmail.com>2012-03-04 09:19:14 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 16:05:47 -0500
commitc1cee1d84001815a1b4321c49b995254c0df3100 (patch)
tree447cbf2d4526b04dd53623e671b9a7ace1a1dbc8
parent88555a63caafcc86b93b045dfc26cd7a8fa16350 (diff)
USB: Microchip VID mislabeled as Hornby VID in ftdi_sio.
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> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/serial/ftdi_sio.c2
-rw-r--r--drivers/usb/serial/ftdi_sio_ids.h10
2 files changed, 8 insertions, 4 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index b160c252bf13..d8130993a922 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -801,7 +801,7 @@ static struct usb_device_id id_table_combined [] = {
801 .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, 801 .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
802 { USB_DEVICE(ADI_VID, ADI_GNICEPLUS_PID), 802 { USB_DEVICE(ADI_VID, ADI_GNICEPLUS_PID),
803 .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, 803 .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
804 { USB_DEVICE(HORNBY_VID, HORNBY_ELITE_PID) }, 804 { USB_DEVICE(MICROCHIP_VID, MICROCHIP_USB_BOARD_PID) },
805 { USB_DEVICE(JETI_VID, JETI_SPC1201_PID) }, 805 { USB_DEVICE(JETI_VID, JETI_SPC1201_PID) },
806 { USB_DEVICE(MARVELL_VID, MARVELL_SHEEVAPLUG_PID), 806 { USB_DEVICE(MARVELL_VID, MARVELL_SHEEVAPLUG_PID),
807 .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, 807 .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h
index ed74019c5b46..2a87965b7723 100644
--- a/drivers/usb/serial/ftdi_sio_ids.h
+++ b/drivers/usb/serial/ftdi_sio_ids.h
@@ -532,10 +532,14 @@
532#define ADI_GNICEPLUS_PID 0xF001 532#define ADI_GNICEPLUS_PID 0xF001
533 533
534/* 534/*
535 * Hornby Elite 535 * Microchip Technology, Inc.
536 *
537 * MICROCHIP_VID (0x04D8) and MICROCHIP_USB_BOARD_PID (0x000A) are also used by:
538 * Hornby Elite - Digital Command Control Console
539 * http://www.hornby.com/hornby-dcc/controllers/
536 */ 540 */
537#define HORNBY_VID 0x04D8 541#define MICROCHIP_VID 0x04D8
538#define HORNBY_ELITE_PID 0x000A 542#define MICROCHIP_USB_BOARD_PID 0x000A /* CDC RS-232 Emulation Demo */
539 543
540/* 544/*
541 * RATOC REX-USB60F 545 * RATOC REX-USB60F