USB: serial: ftdi_sio: add ID for Hjelmslund Electronics USB485
authorMans Rullgard <mans@mansr.com>
Thu, 14 Feb 2019 19:45:33 +0000 (19:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Mar 2019 06:17:15 +0000 (07:17 +0100)
commit 8d7fa3d4ea3f0ca69554215e87411494e6346fdc upstream.

This adds the USB ID of the Hjelmslund Electronics USB485 Iso stick.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/ftdi_sio_ids.h

index b5cef32..1d8077e 100644 (file)
@@ -1015,6 +1015,8 @@ static const struct usb_device_id id_table_combined[] = {
        { USB_DEVICE(CYPRESS_VID, CYPRESS_WICED_BT_USB_PID) },
        { USB_DEVICE(CYPRESS_VID, CYPRESS_WICED_WL_USB_PID) },
        { USB_DEVICE(AIRBUS_DS_VID, AIRBUS_DS_P8GR) },
+       /* EZPrototypes devices */
+       { USB_DEVICE(EZPROTOTYPES_VID, HJELMSLUND_USB485_ISO_PID) },
        { }                                     /* Terminating entry */
 };
 
index 975d026..b863bed 100644 (file)
 #define IONICS_PLUGCOMPUTER_PID                0x0102
 
 /*
+ * EZPrototypes (PID reseller)
+ */
+#define EZPROTOTYPES_VID               0x1c40
+#define HJELMSLUND_USB485_ISO_PID      0x0477
+
+/*
  * Dresden Elektronik Sensor Terminal Board
  */
 #define DE_VID                 0x1cf1 /* Vendor ID */