USB: serial: ftdi_sio: add additional NovaTech products [Linux 3.16.72]

This Linux kernel change "USB: serial: ftdi_sio: add additional NovaTech products" is included in the Linux 3.16.72 release. This change is authored by George McCollister <george.mccollister [at] gmail.com> on Tue Mar 5 16:05:03 2019 -0600. The commit for this change in Linux stable tree is d05b1e8 (patch) which is from upstream commit 422c253. The same Linux upstream change may have been applied to various maintained Linux releases and you can find all Linux releases containing changes from upstream 422c253.

USB: serial: ftdi_sio: add additional NovaTech products

commit 422c2537ba9d42320f8ab6573940269f87095320 upstream.

Add PIDs for the NovaTech OrionLX+ and Orion I/O so they can be
automatically detected.

Signed-off-by: George McCollister <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Ben Hutchings <[email protected]>

There are 6 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/usb/serial/ftdi_sio.c     | 2 ++
 drivers/usb/serial/ftdi_sio_ids.h | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index aa2bec8..3f89153 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -617,6 +617,8 @@ struct ftdi_sio_quirk {
        .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
    { USB_DEVICE(FTDI_VID, FTDI_NT_ORIONLXM_PID),
        .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
+   { USB_DEVICE(FTDI_VID, FTDI_NT_ORIONLX_PLUS_PID) },
+   { USB_DEVICE(FTDI_VID, FTDI_NT_ORION_IO_PID) },
    { USB_DEVICE(FTDI_VID, FTDI_SYNAPSE_SS200_PID) },
    { USB_DEVICE(FTDI_VID, FTDI_CUSTOMWARE_MINIPLEX_PID) },
    { USB_DEVICE(FTDI_VID, FTDI_CUSTOMWARE_MINIPLEX2_PID) },
diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h
index ecc2424..5258cec 100644
--- a/drivers/usb/serial/ftdi_sio_ids.h
+++ b/drivers/usb/serial/ftdi_sio_ids.h
@@ -566,7 +566,9 @@
 /*
  * NovaTech product ids (FTDI_VID)
  */
-#define FTDI_NT_ORIONLXM_PID   0x7c90  /* OrionLXm Substation Automation Platform */
+#define FTDI_NT_ORIONLXM_PID       0x7c90  /* OrionLXm Substation Automation Platform */
+#define FTDI_NT_ORIONLX_PLUS_PID   0x7c91  /* OrionLX+ Substation Automation Platform */
+#define FTDI_NT_ORION_IO_PID       0x7c92  /* Orion I/O */

 /*
  * Synapse Wireless product ids (FTDI_VID)

Leave a Reply

Your email address will not be published. Required fields are marked *