| From 422c2537ba9d42320f8ab6573940269f87095320 Mon Sep 17 00:00:00 2001 |
| From: George McCollister <george.mccollister@gmail.com> |
| Date: Tue, 5 Mar 2019 16:05:03 -0600 |
| Subject: USB: serial: ftdi_sio: add additional NovaTech products |
| |
| From: George McCollister <george.mccollister@gmail.com> |
| |
| commit 422c2537ba9d42320f8ab6573940269f87095320 upstream. |
| |
| Add PIDs for the NovaTech OrionLX+ and Orion I/O so they can be |
| automatically detected. |
| |
| Signed-off-by: George McCollister <george.mccollister@gmail.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 | 2 ++ |
| drivers/usb/serial/ftdi_sio_ids.h | 4 +++- |
| 2 files changed, 5 insertions(+), 1 deletion(-) |
| |
| --- a/drivers/usb/serial/ftdi_sio.c |
| +++ b/drivers/usb/serial/ftdi_sio.c |
| @@ -604,6 +604,8 @@ static const struct usb_device_id id_tab |
| .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) }, |
| --- a/drivers/usb/serial/ftdi_sio_ids.h |
| +++ b/drivers/usb/serial/ftdi_sio_ids.h |
| @@ -567,7 +567,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) |